| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.controller.NodeActionDelegate
oracle.jdeveloper.controller.XmlSourceNodeActionDelegate
public abstract class XmlSourceNodeActionDelegate
TODO waiting for hook to suppress XML EF command and get back the undoable edit.
| Constructor Summary | |
|---|---|
| XmlSourceNodeActionDelegate() | |
| Method Summary | |
|---|---|
|  int[] | doAction(Context context,
         Element[] elements,
         int[] text,
         IdeAction action)Does the action on a Node. | 
| protected abstract  int[] | doAction(oracle.bali.xml.model.XmlModel model,
         Context context,
         Element[] elements,
         int[] text,
         IdeAction action) | 
|  void | undoAction(Context context,
           Element[] elements,
           int[] text,
           IdeAction action)Undoes the action on a node. | 
| Methods inherited from class oracle.jdeveloper.controller.NodeActionDelegate | 
|---|
| isEnabled | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public XmlSourceNodeActionDelegate()
| Method Detail | 
|---|
protected abstract int[] doAction(oracle.bali.xml.model.XmlModel model,
                                  Context context,
                                  Element[] elements,
                                  int[] text,
                                  IdeAction action)
public int[] doAction(Context context,
                      Element[] elements,
                      int[] text,
                      IdeAction action)
               throws java.lang.Exception
NodeActionDelegateNode. This method is invoked on
 a background thread and should not, in general, invoke any Swing or 
 UI methods.
doAction in class NodeActionDelegatecontext - An IDE context specifying the node, project, and workspace.elements - An array of Elements specifying the selected 
                  elements within the node, or null if none.text - A two element int array specifying the start and end offsets
                  of the selected text within the node, or null if none.action - The IDE action to do.
java.lang.Exception
public void undoAction(Context context,
                       Element[] elements,
                       int[] text,
                       IdeAction action)
NodeActionDelegate
undoAction in class NodeActionDelegatecontext - An IDE context specifying the node, project, and workspace.elements - An array of Elements specifying the selected 
                  elements within the node, or null if none.text - A two element int array specifying the start and end offsetaction - The IDE action to undo.| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||