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
public void restoreState(IMemento memento) {
		setMemberFilters(
			new int[] {FILTER_FIELDS, FILTER_STATIC, FILTER_NONPUBLIC, FILTER_LOCALTYPES},
			new boolean[] {
				Boolean.valueOf(memento.getString(TAG_HIDEFIELDS)).booleanValue(),
				Boolean.valueOf(memento.getString(TAG_HIDESTATIC)).booleanValue(),
				Boolean.valueOf(memento.getString(TAG_HIDENONPUBLIC)).booleanValue(),
				Boolean.valueOf(memento.getString(TAG_HIDELOCALTYPES)).booleanValue()
			}, false);
	}
	
	/* (non-Javadoc)
	 * @see ActionGroup#fillActionBars(IActionBars)
	 */
	public void fillActionBars(IActionBars actionBars) {
		contributeToToolBar(actionBars.getToolBarManager());
	}
	
	/**
	 * Adds the filter actions to the given tool bar
	 * 
	 * @param tbm the tool bar to which the actions are added
	 */
	public void contributeToToolBar(IToolBarManager tbm) {
		if (fInViewMenu)
			return;
		for (int i= 0; i < fFilterActions.length; i++) {
			tbm.add(fFilterActions[i]);
		}
	}