Bug 29170 False error feedback from "Show in package explorer"
Build 20030107 1. Open a .java file in the Java editor. 2. Click "Collapse All" in the packages view to collapse the tree. 3. Right click on the top-level type in the Outline view and choose "Show in Package Explorer" 4. The packages view correctly expands to the selected type, but an error dialog pops up: Title: "Show in Package Explorer" Message: "Couldn't reveal the selected element in Package Explorer. May be the element is filtered out." This happens any time the tree needs to be expanded to reveal a type.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
return this == getSite().getPage().getActivePart();
	}
	
	public void saveState(IMemento memento) {
		if (fViewer == null) {
			
			if (fMemento != null) 
				memento.putMemento(fMemento);
			return;
		}
		saveExpansionState(memento);
		saveSelectionState(memento);
		saveLayoutState(memento);
		
		
		
		fActionSet.saveFilterAndSorterState(memento);
	}
	
	/**
	 * Saves the current layout state.
	 * 
	 * @param memento	the memento to save the state into or
	 * 					<code>null</code> to store the state in the preferences
	 * @since 2.1
	 */
	private void saveLayoutState(IMemento memento) {
		if (memento != null) {	
			memento.putInteger(TAG_LAYOUT, getLayoutAsInt());
		} else {