|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ICommandFactory
Creates Commands for a specific EditingDomain.
See also ICommandFactoriesRegistry
| Method Summary | |
|---|---|
Command |
createAddCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value)
This creates an AddCommand to add a particular value to the specified feature of the
owner. |
Command |
createDeleteCommand(EditingDomain domain,
java.lang.Object object)
This creates a command that deletes the given object. |
Command |
createMoveCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value,
int index)
This creates a MoveCommand to move a particular value to a particular index in the
specified feature of the owner. |
Command |
createRemoveCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value)
This creates a RemoveCommand to remove a particular value from the specified feature
of the owner. |
Command |
createSetCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value)
This creates a SetCommand to set the owner's feature to the specified value. |
Command |
createSetCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value,
int index)
This creates a SetCommand to set the owner's feature to the specified value at the
specified index. |
boolean |
handles(EditingDomain editingDomain)
Whether this command factory should be used for the given EditingDomain |
| Method Detail |
|---|
boolean handles(EditingDomain editingDomain)
EditingDomain
Command createSetCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value)
SetCommand to set the owner's feature to the specified value.
Command createSetCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value,
int index)
SetCommand to set the owner's feature to the specified value at the
specified index.
Command createMoveCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value,
int index)
MoveCommand to move a particular value to a particular index in the
specified feature of the owner. The feature will often be null because the
domain will deduce it.
Command createAddCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value)
AddCommand to add a particular value to the specified feature of the
owner. The feature will often be null because the domain will deduce it.
Command createRemoveCommand(EditingDomain domain,
java.lang.Object owner,
java.lang.Object feature,
java.lang.Object value)
RemoveCommand to remove a particular value from the specified feature
of the owner.
Command createDeleteCommand(EditingDomain domain,
java.lang.Object object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||