|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.commands.Command
vocleditor.commands.EditContextCommand
public class EditContextCommand
Command class for edit the context properties.
Constructor Summary | |
---|---|
EditContextCommand(VOCLModel.Context context)
The constructor. |
Method Summary | |
---|---|
void |
execute()
Executes the command. |
void |
redo()
Redo command execution. |
void |
setCommandAttributes(java.lang.String constraintName,
java.lang.String type,
boolean isClassifier,
VOCLModel.ClassifierRole classifier,
VOCLModel.Method method)
Sets the command attributes. |
void |
undo()
Undo command execution. |
Methods inherited from class org.eclipse.gef.commands.Command |
---|
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditContextCommand(VOCLModel.Context context)
Method Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
public void redo()
redo
in class org.eclipse.gef.commands.Command
public void setCommandAttributes(java.lang.String constraintName, java.lang.String type, boolean isClassifier, VOCLModel.ClassifierRole classifier, VOCLModel.Method method)
constraintName
- the new name of the constraint.type
- the typeisClassifier
- indicating whether the Constraint uses a classifier or notclassifier
- the ClassifierRole
if necessary.method
- The referenced Method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |