editMenu.appendToGroup(IContextMenuConstants.GROUP_ADDITIONS, fToggleInsertModeAction);
	public void contributeToMenu(IMenuManager menu) {				super.contributeToMenu(menu);				IMenuManager editMenu= menu.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);		if (editMenu != null) {			editMenu.add(new Separator(IContextMenuConstants.GROUP_OPEN));						editMenu.add(new Separator(IContextMenuConstants.GROUP_GENERATE));			editMenu.add(new Separator(IContextMenuConstants.GROUP_ADDITIONS));						MenuManager structureSelection= new MenuManager(JavaEditorMessages.getString("ExpandSelectionMenu.label"), "expandSelection"); //$NON-NLS-1$ //$NON-NLS-2$ 			structureSelection.add(fStructureSelectEnclosingAction);			structureSelection.add(fStructureSelectNextAction);			structureSelection.add(fStructureSelectPreviousAction);			structureSelection.add(fStructureSelectHistoryAction);			editMenu.appendToGroup(IContextMenuConstants.GROUP_OPEN, structureSelection);			editMenu.appendToGroup(IContextMenuConstants.GROUP_GENERATE, fRetargetShowJavaDoc);		}		IMenuManager navigateMenu= menu.findMenuUsingPath(IWorkbenchActionConstants.M_NAVIGATE);		if (navigateMenu != null) {			navigateMenu.appendToGroup(IWorkbenchActionConstants.SHOW_EXT, fShowOutline);			navigateMenu.appendToGroup(IWorkbenchActionConstants.SHOW_EXT, fOpenHierarchy);		}				IMenuManager gotoMenu= menu.findMenuUsingPath("navigate/goTo"); //$NON-NLS-1$		if (gotoMenu != null) {			gotoMenu.add(new Separator("additions2"));  //$NON-NLS-1$			gotoMenu.appendToGroup("additions2", fGotoPreviousMemberAction); //$NON-NLS-1$			gotoMenu.appendToGroup("additions2", fGotoNextMemberAction); //$NON-NLS-1$			gotoMenu.appendToGroup("additions2", fGotoMatchingBracket); //$NON-NLS-1$		}	}