Bug 88284 [build path] Changes applied even when I press Cancel
Build: I-20050315 1. I opened the Java build path properties page of my org.eclipse.pde.core project 2. switched to the Libraries tab. 3. Added an external library and a workspace library just to see what the icons look like. 4. Press Cancel on the dialog. The changes took effect on my .classpath file and a compilation of the project was triggered.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/BuildPathsPropertyPage.java
op.runAsUserJob(PreferencesMessages.getString("BuildPathsPropertyPage.job.title"), null);  
		}
		return true;
	}
	
	/* (non-Javadoc)
	 * @see IStatusChangeListener#statusChanged
	 */
	public void statusChanged(IStatus status) {
		setValid(!status.matches(IStatus.ERROR));
		StatusUtil.applyToStatusLine(this, status);
	}
	/* (non-Javadoc)
	 * @see org.eclipse.jface.preference.IPreferencePage#performCancel()
	 */
	public boolean performCancel() {
		if (fBuildPathsBlock != null) {
			getSettings().put(INDEX, fBuildPathsBlock.getPageIndex());
            IWorkspaceRunnable runnable= new IWorkspaceRunnable() {
                public void run(IProgressMonitor monitor)   throws CoreException, OperationCanceledException {
                    fBuildPathsBlock.configureJavaProject(null);
                }
            };
            WorkbenchRunnableAdapter op= new WorkbenchRunnableAdapter(runnable);
            op.runAsUserJob(PreferencesMessages.getString("BuildPathsPropertyPage.job.title"), null);  
		}
		return super.performCancel();
	}
}