TreeViewer viewer = entryEditor.getMainWidget().getViewer();
ValueEditorManager valueEditorManager = entryEditor.getConfiguration().getValueEditorManager( viewer );
// create OpenDefaultEditorAction with enabled rename action flag
openDefaultValueEditorActionProxy.dispose();
openDefaultValueEditorActionProxy = new EntryEditorActionProxy( viewer, new OpenDefaultEditorAction( viewer,
openBestValueEditorActionProxy ) );
openEntryValueEditorActionProxy = new EntryEditorActionProxy( viewer, new OpenEntryEditorAction( viewer,
valueEditorManager, valueEditorManager.getEntryValueEditor(), this ) );
toggleAutosaveAction = new ToggleAutosaveAction( entryEditor );
openEntryEditorPreferencePage = new OpenEntryEditorPreferencePageAction();
collapseAllAction = new CollapseAllAction( viewer );
expandAllAction = new ExpandAllAction( viewer );
showInMenuManager = new EntryEditorShowInMenuManager( entryEditor );
entryEditorActionMap.put( editAttributeDescriptionAction, new EntryEditorActionProxy( viewer,
new EditAttributeDescriptionAction( viewer ) ) );
entryEditorActionMap.put( refreshAttributesAction, new EntryEditorActionProxy( viewer, new RefreshAction() ) );
entryEditorActionMap.put( newAttributeAction, new EntryEditorActionProxy( viewer, new NewAttributeAction() ) );
entryEditorActionMap.put( newSearchAction, new EntryEditorActionProxy( viewer, new NewSearchAction() ) );
entryEditorActionMap.put( newBatchOperationAction, new EntryEditorActionProxy( viewer,
new NewBatchOperationAction() ) );
entryEditorActionMap.put( locateDnInDitAction, new EntryEditorActionProxy( viewer, new LocateDnInDitAction() ) );
entryEditorActionMap.put( showOcdAction, new EntryEditorActionProxy( viewer, new OpenSchemaBrowserAction(
OpenSchemaBrowserAction.MODE_OBJECTCLASS ) ) );
entryEditorActionMap.put( showAtdAction, new EntryEditorActionProxy( viewer, new OpenSchemaBrowserAction(
OpenSchemaBrowserAction.MODE_ATTRIBUTETYPE ) ) );
entryEditorActionMap.put( showEqualityMrdAction, new EntryEditorActionProxy( viewer,
new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_EQUALITYMATCHINGRULE ) ) );
entryEditorActionMap.put( showSubstringMrdAction, new EntryEditorActionProxy( viewer,
new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_SUBSTRINGMATCHINGRULE ) ) );
entryEditorActionMap.put( showOrderingMrdAction, new EntryEditorActionProxy( viewer,
new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_ORDERINGMATCHINGRULE ) ) );
entryEditorActionMap.put( showLsdAction, new EntryEditorActionProxy( viewer, new OpenSchemaBrowserAction(
OpenSchemaBrowserAction.MODE_SYNTAX ) ) );
entryEditorActionMap.put( copyDnAction, new EntryEditorActionProxy( viewer, new CopyDnAction() ) );
entryEditorActionMap.put( copyUrlAction, new EntryEditorActionProxy( viewer, new CopyUrlAction() ) );
entryEditorActionMap.put( copyAttriuteDescriptionAction, new EntryEditorActionProxy( viewer,
new CopyAttributeDescriptionAction() ) );
entryEditorActionMap.put( copyDisplayValueAction, new EntryEditorActionProxy( viewer, new CopyValueAction(
CopyValueAction.Mode.DISPLAY, valueEditorManager ) ) );
entryEditorActionMap.put( copyValueUtf8Action, new EntryEditorActionProxy( viewer, new CopyValueAction(
CopyValueAction.Mode.UTF8, valueEditorManager ) ) );
entryEditorActionMap.put( copyValueBase64Action, new EntryEditorActionProxy( viewer, new CopyValueAction(
CopyValueAction.Mode.BASE64, valueEditorManager ) ) );
entryEditorActionMap.put( copyValueHexAction, new EntryEditorActionProxy( viewer, new CopyValueAction(
CopyValueAction.Mode.HEX, valueEditorManager ) ) );
entryEditorActionMap.put( copyValueAsLdifAction, new EntryEditorActionProxy( viewer, new CopyValueAction(
CopyValueAction.Mode.LDIF, valueEditorManager ) ) );
entryEditorActionMap.put( copySearchFilterAction, new EntryEditorActionProxy( viewer,
new CopySearchFilterAction( CopySearchFilterAction.MODE_EQUALS ) ) );
entryEditorActionMap.put( copyNotSearchFilterAction, new EntryEditorActionProxy( viewer,
new CopySearchFilterAction( CopySearchFilterAction.MODE_NOT ) ) );
entryEditorActionMap.put( copyAndSearchFilterAction, new EntryEditorActionProxy( viewer,
new CopySearchFilterAction( CopySearchFilterAction.MODE_AND ) ) );
entryEditorActionMap.put( copyOrSearchFilterAction, new EntryEditorActionProxy( viewer,
new CopySearchFilterAction( CopySearchFilterAction.MODE_OR ) ) );
entryEditorActionMap.put( deleteAllValuesAction, new EntryEditorActionProxy( viewer,
new DeleteAllValuesAction() ) );
entryEditorActionMap.put( fetchOperationalAttributesAction, new EntryEditorActionProxy( viewer,
new FetchOperationalAttributesAction() ) );
entryEditorActionMap.put( propertyDialogAction, new EntryEditorActionProxy( viewer,
new EntryEditorPropertiesAction( entryEditor ) ) );
}