Bug 46394 RCP: Add marker action disabled for Java editor
N20031111 Start fresh workspace and create a class in a Java project. The following actions are disabled: Edit > Add Bookmark... Edit > Add Task... It works in the standard text editor.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/GenerateActionGroup.java
private IMenuManager createViewSubMenu(IMenuManager mainMenu) {
		IMenuManager result= new MenuManager(ActionMessages.getString("SourceMenu.label")); 
		int added= 0;
		added+= addAction(result, fSortMembers);
		result.add(new Separator());
		added+= addAction(result, fOrganizeImports);
		added+= addAction(result, fAddImport);
		result.add(new Separator());
		added+= addAction(result, fOverrideMethods);
		added+= addAction(result, fAddGetterSetter);
		added+= addAction(result, fAddDelegateMethods);
		added+= addAction(result, fAddUnimplementedConstructors);
		added+= addAction(result, fGenerateConstructorUsingFields);
		added+= addAction(result, fAddJavaDocStub);
		added+= addAction(result, fAddToClasspathAction);
		added+= addAction(result, fRemoveFromClasspathAction);
		result.add(new Separator());		
		added+= addAction(result, fSurroundWithTryCatch);
		added+= addAction(result, fExternalizeStrings);
		added+= addAction(result, fFindStringsToExternalize);
		if (added == 0)
			result= null;
		return result;
	}
	/* (non-Javadoc)
	 * Method declared in ActionGroup
	 */
	public void dispose() {
		if (fRegisteredSelectionListeners != null) {
			ISelectionProvider provider= fSite.getSelectionProvider();