Bug 15473 F3 opening more than one class
build 20020502 1) Get JDT Core from HEAD. 2) Add antadapter as a source folder 3) Create a package under antadapter called org.eclipse.jdt.core 4) Move the JDTCompilerAdapter class from default to the new package 5) Add ant.jar to the classpath 6) There are error indicating the class Util cannot be resolved 7) Highlight a Util reference and press F3 8) 8 Util classes open in the editor view
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/OpenAction.java
} catch (PartInitException x) {
								
				String name= null;
				
				if (element instanceof IJavaElement) {
					name= ((IJavaElement) element).getElementName();
				} else if (element instanceof IStorage) {
					name= ((IStorage) element).getName();
				} else if (element instanceof IResource) {
					name= ((IResource) element).getName();
				}
				
				if (name != null) {
					MessageDialog.openError(getShell(),
						ActionMessages.getString("OpenAction.error.messageProblems"),  
						ActionMessages.getFormattedString("OpenAction.error.messageArgs",  
							new String[] { name, x.getMessage() } ));			
				}
			}		
		}
	}
	
	private String getDialogTitle() {
		return ActionMessages.getString("OpenAction.error.title"); 
	}
	
	private void showError(CoreException e) {
		ExceptionHandler.handle(e, getShell(), getDialogTitle(), ActionMessages.getString("OpenAction.error.message")); 
	}
}