Bug 61216 [Dialogs] Closing the workspace dialog and escape
I20040506-0200 When you do File > Exit when the dialog is open, and you press escape, the behaviour of OK is executed (ie eclipse is being closed) whereas one would expect the behavior of CANCEL to happen.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
}
			public void pageOpened(IWorkbenchPage page) {
			    
			}
		});
		windowConfigurer.getWindow().addPerspectiveListener(new IPerspectiveListener() {
			public void perspectiveActivated(IWorkbenchPage page, IPerspectiveDescriptor perspective) {
				updateTitle(page.getWorkbenchWindow());
			}
			public void perspectiveChanged(IWorkbenchPage page, IPerspectiveDescriptor perspective, String changeId) {
			    
			}
		});
		windowConfigurer.getWindow().getPartService().addPartListener(new IPartListener2() {
			public void partActivated(IWorkbenchPartReference ref) {
				if (ref instanceof IEditorReference || ref.getPage().getActiveEditor() == null) {
					updateTitle(ref.getPage().getWorkbenchWindow());
				}
			}
			public void partBroughtToTop(IWorkbenchPartReference ref) {
				if (ref instanceof IEditorReference || ref.getPage().getActiveEditor() == null) {
					updateTitle(ref.getPage().getWorkbenchWindow());
				}
			}
			public void partClosed(IWorkbenchPartReference ref) {
			    
			}
			public void partDeactivated(IWorkbenchPartReference ref) {
			    
			}