public final class VCSEditorUtils
extends java.lang.Object
Utility class for editor operations.
| Modifier and Type | Method and Description | 
|---|---|
static void | 
closeEditors(java.lang.Class<? extends Node> nodeClass)
Deprecated. 
 
 | 
static void | 
closeEditorsForEditorType(java.lang.Class<? extends Editor> editorClass)
Closes all open editors of the given class type through the editor manager. 
 | 
static void | 
closeEditorsForNodeType(java.lang.Class<? extends Node> nodeClass)
Closes all open editors with node of the given class type through the editor manager. 
 | 
static Context | 
createEditorContext(Node node)
Create a context for editor invocation based on the given node. 
 | 
static Editor | 
openEditor(Context context, java.lang.Class editorClass)
Opens the editor for the given context and editor class. 
 | 
public static final Context createEditorContext(Node node)
node - the node of the context.public static final Editor openEditor(Context context, java.lang.Class editorClass)
context - the context of the editor.editorClass - the class of the editor.public static final void closeEditors(java.lang.Class<? extends Node> nodeClass)
closeEditorsForNodeType(java.lang.Class<? extends oracle.ide.model.Node>).nodeClass - the class of nodes whose editors will be closed.public static final void closeEditorsForNodeType(java.lang.Class<? extends Node> nodeClass)
nodeClass - the class of nodes whose editors will be closed.public static final void closeEditorsForEditorType(java.lang.Class<? extends Editor> editorClass)
editorClass - the class of editors that will be closed.