EntryEditorManager entryEditorManager = BrowserUIPlugin.getDefault().getEntryEditorManager();
ISelection selection = selectionProvider.getSelection();
IEntry[] selectedEntries = BrowserSelectionUtils.getEntries( selection );
ISearchResult[] selectedSearchResults = BrowserSelectionUtils.getSearchResults( selection );
IBookmark[] selectedBookMarks = BrowserSelectionUtils.getBookmarks( selection );
entryEditorManager.openEntryEditor( entryEditorExtension, selectedEntries, selectedSearchResults,
selectedBookMarks );
}
};
return action;