public class SearchEditorOpener extends EditorOpener
| Constructor and Description |
|---|
SearchEditorOpener(org.eclipse.ui.IWorkbenchPage page,
EditorUtility editorUtility)
Constructs an editor opener with the given workbench page and the given
editor utility.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
shouldReuseEditor()
Returns whether editors should be reused.
|
getEditorUtility, getWorkbenchPage, openpublic SearchEditorOpener(org.eclipse.ui.IWorkbenchPage page,
EditorUtility editorUtility)
page - the workbench page to open the editor in
(not null)editorUtility - the editor utility for this opener
(not null)protected boolean shouldReuseEditor()
EditorOpener
Default implementation returns false.
shouldReuseEditor in class EditorOpenertrue if editors should be reused,
and false otherwiseEditorOpener.open(Object, boolean, boolean)Copyright (c) 2014, 2020 1C-Soft LLC and others. Made available under the Eclipse Public License 2.0