Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


oracle.jdeveloper.merge
Class MergeUtil

java.lang.Object
  extended by oracle.jdeveloper.merge.MergeUtil


public class MergeUtil
extends java.lang.Object

Utilities class for merge editor consumers / providers.

Since:
10.1.3.0.3

Method Summary
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'.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

reopenMergeEditor

@Deprecated
public static final Editor reopenMergeEditor(Node node,
                                                        java.lang.Class editorClass)
                                      throws java.io.IOException
Deprecated. replaced by reopenMergeEditor(Node,Node,Class)
Reopens the merge editor for the given node and editor class, restarting the merge task if the editor is in 'complete state'.
Parameters:
node - the node of the merge editor.
editorClass - the class of the merge editor.
Returns:
the editor which was created, or found.
Throws:
java.io.IOException - if an I/O exception occurred restarting the merge.

reopenMergeEditor

public static final Editor reopenMergeEditor(Node node,
                                             Node contextNode,
                                             java.lang.Class editorClass)
                                      throws java.io.IOException
Reopens the merge editor for the given node and editor class, restarting the merge task if the editor is in 'complete state'.
Parameters:
node - the node of the merge editor.
contextNode - the original contextual node.
editorClass - the class of the merge editor.
Returns:
the editor which was created, or found.
Throws:
java.io.IOException - if an I/O exception occurred restarting the merge.

openMergeEditor

@Deprecated
public static final Editor openMergeEditor(Node node,
                                                      java.lang.Class editorClass)
Deprecated. replaced by openMergeEditor(Node,Node,Class)
Opens the merge editor for the given node and editor class. If the editor already exists, it will be brought to the front.
Parameters:
node - the node of the merge editor.
editorClass - the class of the merge editor.
Returns:
the editor which was created, or found.

openMergeEditor

public static final Editor openMergeEditor(Node node,
                                           Node contextNode,
                                           java.lang.Class editorClass)
Opens the merge editor for the given node and editor class. If the editor already exists, it will be brought to the front.
Parameters:
node - the node of the merge editor.
contextNode - the original contextual node.
editorClass - the class of the merge editor.
Returns:
the editor which was created, or found.

createMergeEditorContext

public static final Context createMergeEditorContext(Node node,
                                                     Node contextNode)
Create a context for merge editor invocation based on the given node. The context is initialized with a project, where possible.
Parameters:
node - the node of the context.
contextNode - the original contextual node.
Returns:
the merge context.

openMergeEditor

public static final Editor openMergeEditor(Context context,
                                           java.lang.Class editorClass)
Opens the merge editor for the given context and editor class. If the editor already exists, it will be brought to the front.
Parameters:
context - the context of the merge editor.
editorClass - the class of the merge editor.
Returns:
the editor which was created, or found.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.2.0)

E17493-03


Copyright © 1997, 2012, Oracle. All rights reserved.