Bug 67814 Show In > Package Explorer doesn't ask for removal of last filter [package explorer]
200406180010; Not a dup of 66646. 'Show In > Package Explorer' doesn't ask for removal of a filter iff there's only a single filter set. Steps: - Disable all filters in Package Explorer, except for 'Referenced Libraries'. - Open editor for java.util.Vector - Navigate > Show In > Package Explorer => fails, doesn't ask for filter removal. Works iff at least one other filter (which would not filter the element) is active.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/packageview/PackageExplorerPart.java
public final static String VIEW_ID= JavaUI.ID_PACKAGES;
				
	
	static final String TAG_SELECTION= "selection"; 
	static final String TAG_EXPANDED= "expanded"; 
	static final String TAG_ELEMENT= "element"; 
	static final String TAG_PATH= "path"; 
	static final String TAG_VERTICAL_POSITION= "verticalPosition"; 
	static final String TAG_HORIZONTAL_POSITION= "horizontalPosition"; 
	static final String TAG_FILTERS = "filters"; 
	static final String TAG_FILTER = "filter"; 
	static final String TAG_LAYOUT= "layout"; 
	static final String TAG_CURRENT_FRAME= "currentFramge"; 
	static final String TAG_ROOT_MODE= "rootMode"; 
	static final String SETTING_MEMENTO= "memento"; 
	
	private int fRootMode;
	private WorkingSetModel fWorkingSetModel;
	
	private PackageExplorerLabelProvider fLabelProvider;	
	private PackageExplorerContentProvider fContentProvider;
	private FilterUpdater fFilterUpdater;
	
	private PackageExplorerActionGroup fActionSet;
	private ProblemTreeViewer fViewer; 
	private Menu fContextMenu;		
	
	private IMemento fMemento;
	private ISelectionChangedListener fSelectionListener;