this.searchResultEditor = searchResultEditor;
searchResultEditorActionMap = new HashMap<String, SearchResultEditorActionProxy>();
TableViewer viewer = searchResultEditor.getMainWidget().getViewer();
SearchResultEditorCursor cursor = searchResultEditor.getConfiguration().getCursor( viewer );
ValueEditorManager valueEditorManager = searchResultEditor.getConfiguration().getValueEditorManager( viewer );
showDNAction = new ShowDNAction();
showLinksAction = new ShowLinksAction();
showDecoratedValuesAction = new ShowDecoratedValuesAction();
openSearchResultEditorPreferencePage = new OpenSearchResultEditorPreferencePage();
showQuickFilterAction = new ShowQuickFilterAction( searchResultEditor.getMainWidget().getQuickFilterWidget() );
openBestValueEditorActionProxy = new SearchResultEditorActionProxy( cursor, new OpenBestEditorAction( viewer,
cursor, valueEditorManager, this ) );
openDefaultValueEditorActionProxy = new SearchResultEditorActionProxy( cursor, new OpenDefaultEditorAction(
viewer, cursor, valueEditorManager, openBestValueEditorActionProxy, this ) );
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, new OpenEditorAction( viewer,
cursor, valueEditorManager, valueEditors[i], this ) );
}
openEntryValueEditorActionProxy = new SearchResultEditorActionProxy( cursor, new OpenEntryEditorAction( viewer,
cursor, valueEditorManager, valueEditorManager.getEntryValueEditor(), this ) );
openValueEditorPreferencesAction = new ValueEditorPreferencesAction();
searchResultEditorActionMap.put( copyTableAction, new SearchResultEditorActionProxy( cursor,
new CopyEntryAsCsvAction( CopyEntryAsCsvAction.MODE_TABLE ) ) );
searchResultEditorActionMap.put( refreshSearchAction, new SearchResultEditorActionProxy( cursor,