Bug 33755 add to build path/remove from build path actions enabled on empty workspace
20030228 they should be disabled because they make no sense there
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
setGlobalActionHandlers(actionBar);
	}
	
	/* (non-Javadoc)
	 * Method declared in ActionGroup
	 */
	public void fillContextMenu(IMenuManager menu) {
		super.fillContextMenu(menu);
		if (isEditorOwner()) {
			IMenuManager subMenu= createEditorSubMenu(menu);
			if (subMenu != null)
				menu.appendToGroup(fGroupName, subMenu);
		} else {
			appendToGroup(menu, fOrganizeImports);
			appendToGroup(menu, fOverrideMethods);
			appendToGroup(menu, fAddGetterSetter);
			appendToGroup(menu, fAddDelegateMethods);
			appendToGroup(menu, fAddUnimplementedConstructors);
			appendToGroup(menu, fAddJavaDocStub);
			appendToGroup(menu, fAddToClasspathAction);
			appendToGroup(menu, fRemoveFromClasspathAction);
		}
	}
	
	private IMenuManager createEditorSubMenu(IMenuManager mainMenu) {
		IMenuManager result= new MenuManager(ActionMessages.getString("SourceMenu.label")); 
		int added= 0;
		added+= addEditorAction(result, "Comment"); 
		added+= addEditorAction(result, "Uncomment"); 
		result.add(new Separator());