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/ui/actions/CustomFiltersActionGroup.java
/*
		 * @see org.eclipse.jface.action.IContributionItem#isDynamic()
		 */
		public boolean isDynamic() {
			return true;
		}
	}
	private static final String TAG_CUSTOM_FILTERS = "customFilters"; 
	private static final String TAG_USER_DEFINED_PATTERNS_ENABLED= "userDefinedPatternsEnabled"; 
	private static final String TAG_USER_DEFINED_PATTERNS= "userDefinedPatterns"; 
	private static final String TAG_XML_DEFINED_FILTERS= "xmlDefinedFilters"; 
	private static final String TAG_LRU_FILTERS = "lastRecentlyUsedFilters"; 
	private static final String TAG_CHILD= "child"; 
	private static final String TAG_PATTERN= "pattern"; 
	private static final String TAG_FILTER_ID= "filterId"; 
	private static final String TAG_IS_ENABLED= "isEnabled"; 
	private static final String SEPARATOR= ",";  
	private static final int MAX_FILTER_MENU_ENTRIES= 3;
	private static final String RECENT_FILTERS_GROUP_NAME= "recentFiltersGroup"; 
	private StructuredViewer fViewer;
	private NamePatternFilter fPatternFilter;
	private Map fInstalledBuiltInFilters;
	
	private Map fEnabledFilterIds;
	private boolean fUserDefinedPatternsEnabled;
	private String[] fUserDefinedPatterns;
	private FilterDescriptor[] fCachedFilterDescriptors;
	/**
	 * Recently changed filter Ids stack with oldest on top (i.e. at the end).
	 *