// new
menuManager.add( entryEditorActionMap.get( newAttributeAction ) );
menuManager.add( entryEditorActionMap.get( newValueAction ) );
menuManager.add( entryEditorActionMap.get( newSearchAction ) );
menuManager.add( entryEditorActionMap.get( newBatchOperationAction ) );
menuManager.add( new Separator() );
// navigation
menuManager.add( entryEditorActionMap.get( locateDnInDitAction ) );
MenuManager schemaMenuManager = new MenuManager( Messages
.getString( "EntryEditorActionGroup.OpenSchemaBrowser" ) ); //$NON-NLS-1$
schemaMenuManager.add( entryEditorActionMap.get( showOcdAction ) );
schemaMenuManager.add( entryEditorActionMap.get( showAtdAction ) );
schemaMenuManager.add( entryEditorActionMap.get( showEqualityMrdAction ) );
schemaMenuManager.add( entryEditorActionMap.get( showSubstringMrdAction ) );
schemaMenuManager.add( entryEditorActionMap.get( showOrderingMrdAction ) );
schemaMenuManager.add( entryEditorActionMap.get( showLsdAction ) );
menuManager.add( schemaMenuManager );
MenuManager showInSubMenu = new MenuManager( Messages.getString( "EntryEditorActionGroup.ShowIn" ) ); //$NON-NLS-1$
showInSubMenu.add( ContributionItemFactory.VIEWS_SHOW_IN.create( PlatformUI.getWorkbench()
.getActiveWorkbenchWindow() ) );
menuManager.add( showInSubMenu );
menuManager.add( new Separator() );
// copy, paste, delete
menuManager.add( entryEditorActionMap.get( copyAction ) );
menuManager.add( entryEditorActionMap.get( pasteAction ) );
menuManager.add( entryEditorActionMap.get( deleteAction ) );
menuManager.add( entryEditorActionMap.get( selectAllAction ) );
MenuManager advancedMenuManager = new MenuManager( Messages.getString( "EntryEditorActionGroup.Advanced" ) ); //$NON-NLS-1$
advancedMenuManager.add( entryEditorActionMap.get( copyDnAction ) );
advancedMenuManager.add( entryEditorActionMap.get( copyUrlAction ) );
advancedMenuManager.add( new Separator() );
advancedMenuManager.add( entryEditorActionMap.get( copyAttriuteDescriptionAction ) );
advancedMenuManager.add( new Separator() );
advancedMenuManager.add( entryEditorActionMap.get( copyDisplayValueAction ) );
advancedMenuManager.add( entryEditorActionMap.get( copyValueUtf8Action ) );
advancedMenuManager.add( entryEditorActionMap.get( copyValueBase64Action ) );
advancedMenuManager.add( entryEditorActionMap.get( copyValueHexAction ) );
advancedMenuManager.add( new Separator() );
advancedMenuManager.add( entryEditorActionMap.get( copyValueAsLdifAction ) );
advancedMenuManager.add( new Separator() );
advancedMenuManager.add( entryEditorActionMap.get( copySearchFilterAction ) );
advancedMenuManager.add( entryEditorActionMap.get( copyNotSearchFilterAction ) );
advancedMenuManager.add( entryEditorActionMap.get( copyAndSearchFilterAction ) );
advancedMenuManager.add( entryEditorActionMap.get( copyOrSearchFilterAction ) );
advancedMenuManager.add( new Separator() );
advancedMenuManager.add( entryEditorActionMap.get( deleteAllValuesAction ) );
menuManager.add( advancedMenuManager );
menuManager.add( new Separator() );
// edit
menuManager.add( entryEditorActionMap.get( editAttributeDescriptionAction ) );
super.addEditMenu( menuManager );
menuManager.add( openEntryValueEditorActionProxy );
menuManager.add( new Separator() );
// refresh
menuManager.add( entryEditorActionMap.get( refreshAttributesAction ) );
if ( entryEditorActionMap.get( fetchOperationalAttributesAction ).isEnabled() )
{
menuManager.add( entryEditorActionMap.get( fetchOperationalAttributesAction ) );
}
menuManager.add( new Separator() );
// additions
menuManager.add( new Separator( IWorkbenchActionConstants.MB_ADDITIONS ) );
// properties
menuManager.add( entryEditorActionMap.get( propertyDialogAction ) );
}