Bug 126507 [CommonNavigator] [Java] Proposed Java extension for Common Navigator
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/workingsets/ViewActionGroup.java
fShowActionGroup= new WorkingSetShowActionGroup(site);
		fMode= mode;
		if (showWorkingSets())
			fActiveActionGroup= fShowActionGroup;
		else
			fActiveActionGroup= fFilterActionGroup;
	}
	
	public void dispose() {
		fFilterActionGroup.dispose();
		fShowActionGroup.dispose();
		fChangeListener= null;
		super.dispose();
	}
	
	public void setWorkingSetModel(WorkingSetModel model) {
		fShowActionGroup.setWorkingSetMode(model);
	}
	/**
	 * {@inheritDoc}
	 */
	public void fillActionBars(IActionBars actionBars) {
		super.fillActionBars(actionBars);
		fMenuManager= actionBars.getMenuManager();
		IMenuManager showMenu= new MenuManager(WorkingSetMessages.ViewActionGroup_show_label); 
		fillShowMenu(showMenu);
		fMenuManager.add(showMenu);
		fMenuManager.add(new Separator(IWorkingSetActionGroup.ACTION_GROUP));
		if (fActiveActionGroup == null)
			fActiveActionGroup= fFilterActionGroup;