Bug 64372 Projects showing up in Package Explorer twice [package explorer]
20040527-0800 When I load the platform-ui module and org.eclipse.tests from HEAD org.eclipse.tests is showing up twice in the PackageExplorer. This is not a a problem in the Resource Navigator. Open type only shows it once so it doesn't look like there are two instance in the workspace
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return fLinkingEnabled;
	}
	
	/**
	 * Initializes the linking enabled setting from the preference store.
	 */
	private void initLinkingEnabled() {
		fLinkingEnabled= PreferenceConstants.getPreferenceStore().getBoolean(PreferenceConstants.LINK_PACKAGES_TO_EDITOR);
	}
	/**
	 * Links to editor (if option enabled)
	 */
	private void linkToEditor(IStructuredSelection selection) {
		
		
		if (!isActivePart())
			return;
		Object obj= selection.getFirstElement();
		if (selection.size() == 1) {
			IEditorPart part= EditorUtility.isOpenInEditor(obj);
			if (part != null) {
				IWorkbenchPage page= getSite().getPage();
				page.bringToTop(part);
				if (obj instanceof IJavaElement)
					EditorUtility.revealInEditor(part, (IJavaElement)obj);
			}
		}
	}
	private boolean isActivePart() {
		return this == getSite().getPage().getActivePart();