Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

oracle.jdeveloper.audit.java
Class TemplateTransformAdapter.OpenEditorCommand

java.lang.Object
  extended by oracle.ide.controller.Command
      extended by oracle.jdeveloper.audit.java.TemplateTransformAdapter.OpenEditorCommand
Enclosing class:
TemplateTransformAdapter

public static class TemplateTransformAdapter.OpenEditorCommand
extends Command


Field Summary
 
Fields inherited from class oracle.ide.controller.Command
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type
 
Constructor Summary
TemplateTransformAdapter.OpenEditorCommand(java.lang.String name, TextNode node, Project project, Workspace workspace)
           
 
Method Summary
 int doit()
          Executes the actions associated with a specific command.
 int undo()
          Called by the CommandProcessor to undo a command.
 
Methods inherited from class oracle.ide.controller.Command
getAffectedNodes, getContext, getData, getId, getName, getType, isGlobal, setContext, setData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateTransformAdapter.OpenEditorCommand

public TemplateTransformAdapter.OpenEditorCommand(java.lang.String name,
                                                  TextNode node,
                                                  Project project,
                                                  Workspace workspace)
Method Detail

doit

public int doit()
Description copied from class: Command
Executes the actions associated with a specific command. When a command executes successfully, implementations should return OK, otherwise, return CANCEL or any other non-zero value.

Specified by:
doit in class Command

undo

public int undo()
         throws java.lang.Exception
Description copied from class: Command
Called by the CommandProcessor to undo a command. Does nothing in this implemenation. Commands that can be undone should provide the behavior here to undo whatever actions were carried out when the doit method was called When a command executes successfully, implementations should return OK, otherwise, return CANCEL or any other non-zero value.

Overrides:
undo in class Command
Throws:
java.lang.Exception

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.1.0)

E13403-02

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