|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.ide.controller.Command
oracle.ide.inspector.PropertySetCommand
oracle.jdeveloper.cmt.CmtPropertySetCommand
public class CmtPropertySetCommand
Field Summary |
---|
Fields inherited from class oracle.ide.controller.Command |
---|
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type |
Constructor Summary | |
---|---|
CmtPropertySetCommand(oracle.bali.inspector.multi.SelectionModel selection,
java.lang.Object id,
int col,
java.lang.Object data)
Constructor. |
Method Summary | |
---|---|
int |
doit()
Assign the new value to the object. |
protected void |
sendUpdates()
Send relevant object change notifications. |
void |
setContext(Context context)
Sets context associated with command. |
int |
undo()
Restores the object to its previous state. |
Methods inherited from class oracle.ide.inspector.PropertySetCommand |
---|
getAffectedNodes, getName |
Methods inherited from class oracle.ide.controller.Command |
---|
getContext, getData, getId, getType, isGlobal, setData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmtPropertySetCommand(oracle.bali.inspector.multi.SelectionModel selection, java.lang.Object id, int col, java.lang.Object data)
selection
- SelectionModel of PropertyModel instances te be affected.id
- ID identifying the property row in which to set the data.col
- value identifying the property column in which to set the data.data
- the new value to apply.Method Detail |
---|
public void setContext(Context context)
Command
setContext
in class Command
public int doit() throws java.lang.Exception
PropertySetCommand
doit
in class PropertySetCommand
java.lang.Exception
- the Command failed to complete successfully.protected void sendUpdates()
PropertySetCommand
sendUpdates
in class PropertySetCommand
public int undo() throws java.lang.Exception
undo
in class PropertySetCommand
java.lang.Exception
- the Command failed to undo successfully.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |