public class MergeUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static Context |
createMergeEditorContext(Node node,
Node contextNode)
Create a context for merge editor invocation based on the given node.
|
static Editor |
openMergeEditor(Context context,
java.lang.Class editorClass)
Opens the merge editor for the given context and editor class.
|
static Editor |
openMergeEditor(Node node,
java.lang.Class editorClass)
Deprecated.
replaced by
openMergeEditor(Node,Node,Class) |
static Editor |
openMergeEditor(Node node,
Node contextNode,
java.lang.Class editorClass)
Opens the merge editor for the given node and editor class.
|
static Editor |
reopenMergeEditor(Node node,
java.lang.Class editorClass)
Deprecated.
replaced by
reopenMergeEditor(Node,Node,Class) |
static Editor |
reopenMergeEditor(Node node,
Node contextNode,
java.lang.Class editorClass)
Reopens the merge editor for the given node and editor class, restarting
the merge task if the editor is in 'complete state'.
|
@Deprecated public static final Editor reopenMergeEditor(Node node, java.lang.Class editorClass) throws java.io.IOException
reopenMergeEditor(Node,Node,Class)
node
- the node of the merge editor.editorClass
- the class of the merge editor.java.io.IOException
- if an I/O exception occurred restarting the merge.public static final Editor reopenMergeEditor(Node node, Node contextNode, java.lang.Class editorClass) throws java.io.IOException
node
- the node of the merge editor.contextNode
- the original contextual node.editorClass
- the class of the merge editor.java.io.IOException
- if an I/O exception occurred restarting the merge.@Deprecated public static final Editor openMergeEditor(Node node, java.lang.Class editorClass)
openMergeEditor(Node,Node,Class)
node
- the node of the merge editor.editorClass
- the class of the merge editor.public static final Editor openMergeEditor(Node node, Node contextNode, java.lang.Class editorClass)
node
- the node of the merge editor.contextNode
- the original contextual node.editorClass
- the class of the merge editor.public static final Context createMergeEditorContext(Node node, Node contextNode)
node
- the node of the context.contextNode
- the original contextual node.public static final Editor openMergeEditor(Context context, java.lang.Class editorClass)
context
- the context of the merge editor.editorClass
- the class of the merge editor.