Bug 183599 Navigator tests failing in N20070423-0010
bundles/org.eclipse.ui.navigator.resources/src/org/eclipse/ui/internal/navigator/resources/actions/WorkingSetRootModeActionGroup.java
workingSetsAction.setChecked(showTopLevelWorkingSets);
		projectsAction.setChecked(!showTopLevelWorkingSets);
		if (items != null) {
			for (int i = 0; i < items.length; i++) {
				items[i].setSelection(actions[i].isChecked());
			}
		}
		if (stateModel != null) {
			stateModel.setBooleanProperty(
					WorkingSetsContentProvider.SHOW_TOP_LEVEL_WORKING_SETS,
					showTopLevelWorkingSets);
		}
	}
	/**
	 * Configure the actions that are displayed in the menu by this ActionGroup.
	 * 
	 * @param theActions
	 *            An array of possible actions.
	 * @param selected
	 *            The index of the "enabled" action.
	 */
	private void setActions(IAction[] theActions, int selected) {
		actions = theActions;
		currentSelection = selected;
	}
	public void setStateModel(IExtensionStateModel sStateModel) {
		stateModel = sStateModel;
	}
}