|
||||||||||
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.EditClassifierRoleCommand
public class EditClassifierRoleCommand
Command class for edit the place properties.
Constructor Summary | |
---|---|
EditClassifierRoleCommand()
The default constructor. |
Method Summary | |
---|---|
void |
execute()
Executes the command. |
void |
redo()
Redo command execution. |
void |
setAttributes(java.util.List attributes)
Sets the new list of attributes. |
void |
setChangedVariables(java.util.Hashtable changedVariables)
Sets the the hashtable of changed variables. |
void |
setClassifierRole(VOCLModel.ClassifierRole classifierRole)
|
void |
setCommandAttributes(java.lang.String name,
java.lang.String type,
java.util.Hashtable changedVariables,
java.util.List attributes)
Sets the command attributes. |
void |
setName(java.lang.String name)
Sets the new name. |
void |
setType(java.lang.String type)
Sets the new type. |
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 EditClassifierRoleCommand()
Method Detail |
---|
public void setClassifierRole(VOCLModel.ClassifierRole classifierRole)
classifierRole
- The ClassifierRole
to modify.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 setName(java.lang.String name)
name
- the new namepublic void setType(java.lang.String type)
type
- the new typepublic void setChangedVariables(java.util.Hashtable changedVariables)
changedVariables
- the hashtable of changed variables.public void setAttributes(java.util.List attributes)
attributes
- the new list of attributespublic void setCommandAttributes(java.lang.String name, java.lang.String type, java.util.Hashtable changedVariables, java.util.List attributes)
name
- the new nametype
- the new typechangedVariables
- the list of changed variablesattributes
- the new list of attributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |