Bug 45446 [Outline] 'Hide Fields' option not saved b/w editors
I20031023 - new/clean workspace - checkout platform-ui projects and compile - Java Perspective - open a class (ProblemView) - in Outline view, click the buttons 'Hide Field' (so you don't see the fields) and 'Sort'(so methods appear in alphabetical order) - Outline view is updated - open another class (SelectionEnabler) - note that the 'Sort' button is depressed in the Outline view but the 'Hide Fields' button is not (so you see the fields) - click on 'Hide Fields' and the fields are hidden - open a 3rd Java class (PluginAction) - 'Sort' button is depressed but 'Hide Fields' is not - I wasn't dreaming the first time!
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/MemberFilterActionGroup.java
/**
	 * Returns <code>true</code> if the given filter is installed.
	 * 
	 * @param filterProperty the filter to be tested. Valid values are <code>FILTER_FIELDS</code>, 
	 * <code>FILTER_PUBLIC</code>, <code>FILTER_PRIVATE</code> and <code>FILTER_LOCALTYPES</code> as defined by this action 
	 * group
	 */	
	public boolean hasMemberFilter(int filterProperty) {
		return fFilter.hasFilter(filterProperty);
	}
	
	/**
	 * Saves the state of the filter actions in a memento.
	 * 
	 * @param memento the memento to which the state is saved
	 */
	public void saveState(IMemento memento) {
		memento.putString(TAG_HIDEFIELDS, String.valueOf(hasMemberFilter(FILTER_FIELDS)));
		memento.putString(TAG_HIDESTATIC, String.valueOf(hasMemberFilter(FILTER_STATIC)));
		memento.putString(TAG_HIDENONPUBLIC, String.valueOf(hasMemberFilter(FILTER_NONPUBLIC)));
		memento.putString(TAG_HIDELOCALTYPES, String.valueOf(hasMemberFilter(FILTER_LOCALTYPES)));
	}
	
	/**
	 * Restores the state of the filter actions from a memento.
	 * <p>
	 * Note: This method does not refresh the viewer.
	 * </p>
	 * @param memento the memento from which the state is restored
	 */