Bug 13206 Missing resource
20020409: Package View>Context Menu>OpenNewWindowAction.text
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
/**
	 * Handles double clicks in viewer.
	 * Opens editor if file double-clicked.
	 */
	private void handleDoubleClick(DoubleClickEvent event) {
		IStructuredSelection s= (IStructuredSelection) event.getSelection();
		Object element= s.getFirstElement();
		
		if (fOpenCUAction.isEnabled()) {
			fOpenCUAction.run();
			return;
		}
		
		if (fViewer.isExpandable(element)) {
			if (JavaBasePreferencePage.doubleClickGoesInto()) {
				
				if (element instanceof IOpenable && 
					!(element instanceof ICompilationUnit) && 
					!(element instanceof IClassFile)) {
					fZoomInAction.run();
				}
			} else {
				fViewer.setExpandedState(element, !fViewer.getExpandedState(element));
				
			}
		}
	}
	/**
	 * Handles selection changed in viewer.
	 * Updates global actions.