this.showRawValuesAction = new ShowRawValuesAction();
this.openSearchResultEditorPreferencePage = new OpenSearchResultEditorPreferencePage();
this.showQuickFilterAction = new ShowQuickFilterAction( searchResultEditor.getMainWidget()
.getQuickFilterWidget() );
openBestValueEditorActionProxy = new SearchResultEditorActionProxy( cursor, this, new OpenBestEditorAction(
viewer, cursor, valueEditorManager ) );
openDefaultValueEditorActionProxy = new SearchResultEditorActionProxy( cursor, this,
new OpenDefaultEditorAction( viewer, cursor, valueEditorManager, openBestValueEditorActionProxy ) );
IValueEditor[] valueEditors = searchResultEditor.getConfiguration().getValueEditorManager( viewer )
.getAllValueEditors();
openValueEditorActionProxies = new SearchResultEditorActionProxy[valueEditors.length];
for ( int i = 0; i < openValueEditorActionProxies.length; i++ )
{
openValueEditorActionProxies[i] = new SearchResultEditorActionProxy( cursor, this, new OpenEditorAction( viewer, cursor,
valueEditorManager, valueEditors[i] ) );
}
this.openValueEditorPreferencesAction = new ValueEditorPreferencesAction();
this.searchResultEditorActionMap.put( copyTableAction, new SearchResultEditorActionProxy( cursor,
this, new CopyEntryAsCsvAction( CopyEntryAsCsvAction.MODE_TABLE ) ) );
this.searchResultEditorActionMap.put( refreshSearchAction, new SearchResultEditorActionProxy( cursor,
this, new RefreshAction() ) );
this.searchResultEditorActionMap.put( newValueAction, new SearchResultEditorActionProxy( cursor,
this, new NewValueAction() ) );
this.searchResultEditorActionMap.put( newSearchAction, new SearchResultEditorActionProxy( cursor,
this, new NewSearchAction() ) );
this.searchResultEditorActionMap.put( newBatchOperationAction, new SearchResultEditorActionProxy( cursor,
this, new NewBatchOperationAction() ) );
this.searchResultEditorActionMap.put( locateDnInDitAction, new SearchResultEditorActionProxy( cursor,
this, new LocateDnInDitAction() ) );
this.searchResultEditorActionMap.put( openSearchResultAction, new SearchResultEditorActionProxy( cursor,
this, new OpenSearchResultAction() ) );
this.searchResultEditorActionMap.put( showOcdAction, new SearchResultEditorActionProxy( cursor,
this, new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_OBJECTCLASS ) ) );
this.searchResultEditorActionMap.put( showAtdAction, new SearchResultEditorActionProxy( cursor,
this, new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_ATTRIBUTETYPE ) ) );
this.searchResultEditorActionMap.put( showEqualityMrdAction, new SearchResultEditorActionProxy( cursor,
this, new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_EQUALITYMATCHINGRULE ) ) );
this.searchResultEditorActionMap.put( showSubstringMrdAction, new SearchResultEditorActionProxy( cursor,
this, new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_SUBSTRINGMATCHINGRULE ) ) );
this.searchResultEditorActionMap.put( showOrderingMrdAction, new SearchResultEditorActionProxy( cursor,
this, new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_ORDERINGMATCHINGRULE ) ) );
this.searchResultEditorActionMap.put( showLsdAction, new SearchResultEditorActionProxy( cursor,
this, new OpenSchemaBrowserAction( OpenSchemaBrowserAction.MODE_SYNTAX ) ) );
this.searchResultEditorActionMap.put( pasteAction, new SearchResultEditorActionProxy( cursor,
this, new SearchResultEditorPasteAction() ) );
this.searchResultEditorActionMap.put( copyAction, new SearchResultEditorActionProxy( cursor, this, new CopyAction(
( BrowserActionProxy ) this.searchResultEditorActionMap.get( pasteAction ) ) ) );
this.searchResultEditorActionMap.put( deleteAction, new SearchResultEditorActionProxy( cursor,
this, new SearchResultDeleteAction() ) );
this.searchResultEditorActionMap.put( copyDnAction, new SearchResultEditorActionProxy( cursor,
this, new CopyDnAction() ) );
this.searchResultEditorActionMap.put( copyUrlAction, new SearchResultEditorActionProxy( cursor,
this, new CopyUrlAction() ) );
this.searchResultEditorActionMap.put( copyAttriuteDescriptionAction, new SearchResultEditorActionProxy( cursor,
this, new CopyAttributeDescriptionAction() ) );
this.searchResultEditorActionMap.put( copyValueUtf8Action, new SearchResultEditorActionProxy( cursor,
this, new CopyValueAction( CopyValueAction.MODE_UTF8 ) ) );
this.searchResultEditorActionMap.put( copyValueBase64Action, new SearchResultEditorActionProxy( cursor,
this, new CopyValueAction( CopyValueAction.MODE_BASE64 ) ) );
this.searchResultEditorActionMap.put( copyValueHexAction, new SearchResultEditorActionProxy( cursor,
this, new CopyValueAction( CopyValueAction.MODE_HEX ) ) );
this.searchResultEditorActionMap.put( copyValueAsLdifAction, new SearchResultEditorActionProxy( cursor,
this, new CopyValueAction( CopyValueAction.MODE_LDIF ) ) );
this.searchResultEditorActionMap.put( copySearchFilterAction, new SearchResultEditorActionProxy( cursor,
this, new CopySearchFilterAction( CopySearchFilterAction.MODE_EQUALS ) ) );
this.searchResultEditorActionMap.put( copyNotSearchFilterAction, new SearchResultEditorActionProxy( cursor,
this, new CopySearchFilterAction( CopySearchFilterAction.MODE_NOT ) ) );
this.searchResultEditorActionMap.put( copyAndSearchFilterAction, new SearchResultEditorActionProxy( cursor,
this, new CopySearchFilterAction( CopySearchFilterAction.MODE_AND ) ) );
this.searchResultEditorActionMap.put( copyOrSearchFilterAction, new SearchResultEditorActionProxy( cursor,
this, new CopySearchFilterAction( CopySearchFilterAction.MODE_OR ) ) );
this.searchResultEditorActionMap.put( propertyDialogAction, new SearchResultEditorActionProxy( cursor,
this, new PropertiesAction() ) );
}