|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.controller.Command oracle.ide.inspector.PropertySetCommand
public class PropertySetCommand
The PropetySetCommand
implements a property set, handling the
undoing of the property set and sending out all relevant notifications.
Field Summary |
---|
Fields inherited from class oracle.ide.controller.Command |
---|
CANCEL, context, EXECUTING, MULTI_NODE, NO_CHANGE, NO_UNDO, NORMAL, OK, type |
Constructor Summary | |
---|---|
PropertySetCommand(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. |
Node[] |
getAffectedNodes()
Get the collection of any other Node instances that are affected by this Command. |
java.lang.String |
getName()
Get the name of this Command for display in the Undo/Redo menu items. |
protected void |
sendUpdates()
Send relevant object change notifications. |
int |
undo()
Restores the object to its previous state. |
Methods inherited from class oracle.ide.controller.Command |
---|
getContext, getData, getId, getType, isGlobal, setContext, setData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertySetCommand(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 int doit() throws java.lang.Exception
doit
in class Command
java.lang.Exception
- the Command failed to complete successfully.protected void sendUpdates()
public int undo() throws java.lang.Exception
undo
in class Command
java.lang.Exception
- the Command failed to undo successfully.public Node[] getAffectedNodes()
getAffectedNodes
in class Command
public java.lang.String getName()
getName
in class Command
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |