Bug 18285 Double-clicking on import statement transfers to referenced type
Build 20020528 In the package view outline, double-clicking on a type import statement does open the editor on the target type, instead of the unit hosting the import reference.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/JavaOutlinePage.java
}
					super.handleLabelProviderChanged(event);
				}
				
				private IResource getUnderlyingResource() {
					Object input= getInput();
					if (input instanceof ICompilationUnit) {
						ICompilationUnit cu= (ICompilationUnit) input;
						if (cu.isWorkingCopy()) {
							return cu.getOriginalElement().getResource();
						} else {
							return cu.getResource();
						}				
					} else if (input instanceof IClassFile) {
						return ((IClassFile) input).getResource();
					}
					return null;
				}				
				
			};
				
			class LexicalSortingAction extends Action {
				
				private JavaElementSorter fSorter= new JavaElementSorter();			
				public LexicalSortingAction() {
					super();
					
					setText(JavaEditorMessages.getString("JavaOutlinePage.Sort.label")); 
					JavaPluginImages.setLocalImageDescriptors(this, "alphab_sort_co.gif"); 
					setToolTipText(JavaEditorMessages.getString("JavaOutlinePage.Sort.tooltip"));