Bug 55628 Ctrl+o Filters not persistent when set via view menu
I20040322
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/CustomFiltersActionGroup.java
return filter.select(fViewer, parent, element);
	}
    /**
	 * Sets the enable state of the given filter.
	 * 
	 * @param filterDescriptor
	 * @param state
	 */
	private void setFilter(String filterId, boolean state) {
		
		fLRUFilterIdsStack.remove(filterId);
		fLRUFilterIdsStack.add(0, filterId);
		storeViewDefaults();
		
		fEnabledFilterIds.put(filterId, new Boolean(state));
		updateViewerFilters(true);
	}
	
	private String[] getEnabledFilterIds() {
		Set enabledFilterIds= new HashSet(fEnabledFilterIds.size());
		Iterator iter= fEnabledFilterIds.entrySet().iterator();
		while (iter.hasNext()) {
			Map.Entry entry= (Map.Entry)iter.next();
			String id= (String)entry.getKey();
			boolean isEnabled= ((Boolean)entry.getValue()).booleanValue();
			if (isEnabled)
				enabledFilterIds.add(id);
		}
		return (String[])enabledFilterIds.toArray(new String[enabledFilterIds.size()]);
	}