IMenuManager navigateMenu= menu.findMenuUsingPath(IWorkbenchActionConstants.M_NAVIGATE); if (navigateMenu != null) { navigateMenu.appendToGroup("open.ext", fOpenStructure); }
	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));						editMenu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fGotoMatchingBracket);			editMenu.appendToGroup(IContextMenuConstants.GROUP_GENERATE, fRetargetShowJavaDoc);			editMenu.appendToGroup(IContextMenuConstants.GROUP_GENERATE, fShowOutline);			editMenu.appendToGroup(IWorkbenchActionConstants.FIND_EXT, fShowReferencesAction);		}				IMenuManager navigateMenu= menu.findMenuUsingPath(IWorkbenchActionConstants.M_NAVIGATE);		if (navigateMenu != null) {			navigateMenu.appendToGroup("open.ext", fOpenStructure); //$NON-NLS-1$		}	}