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
String title= PreferencesMessages.getString("BuildPathsPropertyPage.unsavedchanges.title"); 
					String message= PreferencesMessages.getString("BuildPathsPropertyPage.unsavedchanges.message"); 
					String[] buttonLabels= new String[] {
							PreferencesMessages.getString("BuildPathsPropertyPage.unsavedchanges.button.save"), 
							PreferencesMessages.getString("BuildPathsPropertyPage.unsavedchanges.button.discard"), 
							PreferencesMessages.getString("BuildPathsPropertyPage.unsavedchanges.button.ignore") 
					};
					MessageDialog dialog= new MessageDialog(getShell(), title, null, message, MessageDialog.QUESTION, buttonLabels, 0);
					int res= dialog.open();
					if (res == 0) {
						performOk();
					} else if (res == 1) {
						fBuildPathsBlock.init(JavaCore.create(getProject()), null, null);
					} else {
						fBuildPathsBlock.initializeTimeStamps();
					}
				}
			} else {
				if (!fBuildPathsBlock.hasChangesInDialog() && fBuildPathsBlock.hasChangesInClasspathFile()) {
					fBuildPathsBlock.init(JavaCore.create(getProject()), null, null);
				}
			}
		}
		super.setVisible(visible);
	}
	
	
	/*
	 * Content for valid projects.
	 */