Bug 5340 Cancelling add exception breakpoint has no effect
1) Go to the breakpoints pane in the debug perspective 2) Click the J! button to add an exception 3) In the progress dialog, click cancel. The progress dialog closes immediately 4) Eventually the exception list comes up, it ignored the cancelation request. It should either honour the cancellation request or diable the cancel button (when calling ProgressMonitorDialog.run pass false for the canceleable parameter).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/launcher/AddExceptionDialog.java
}
	
	public int getExceptionType() {
		return fExceptionType;
	}
	
	public boolean isCaughtSelected() {
		return fIsCaughtSelected;
	}
	
	public boolean isUncaughtSelected() {
		return fIsUncaughtSelected;
	}
	
	public void initializeTypeList() {
		AllTypesSearchEngine searchEngine= new AllTypesSearchEngine(JavaPlugin.getWorkspace());
		int flags= IJavaElementSearchConstants.CONSIDER_BINARIES |
					IJavaElementSearchConstants.CONSIDER_CLASSES |
					IJavaElementSearchConstants.CONSIDER_EXTERNAL_JARS;
		List result= searchEngine.searchTypes(new ProgressMonitorDialog(getShell()), SearchEngine.createWorkspaceScope(), flags);
		fFilterText.setText("*Exception*"); 
		fTypeList.setElements(result.toArray()); 
		fTypeListInitialized= true;
	}
	
	private void validateListSelection() {
		StatusInfo status= new StatusInfo();
		if (fTypeList.getSelection().length != 1) {
			status.setError(LauncherMessages.getString("AddExceptionDialog.error.noSelection"));  
		}