|
||||||||||
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.EditSetClassifierRoleCommand
public class EditSetClassifierRoleCommand
Constructor Summary | |
---|---|
EditSetClassifierRoleCommand()
The constructor. |
Method Summary | |
---|---|
void |
execute()
Entry point for command execution. |
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.SetClassifierRole setClassifierRole)
Sets the set classifier role. |
void |
setCommandAttributes(java.lang.String name,
java.lang.String type,
java.lang.String opKind,
java.lang.String sizeName,
java.lang.String iteratorName,
java.lang.String sumName,
java.util.Hashtable changedVariables,
java.util.List attributes)
Sets the command attributes. |
void |
setIteratorVariableName(java.lang.String iterator)
Sets the name of the iterator variable. |
void |
setName(java.lang.String name)
Sets the new name. |
void |
setOpKind(java.lang.String opKind)
Sets the new operation kind. |
void |
setSizeVariableName(java.lang.String size)
Sets the name of the size variable. |
void |
setSumVariableName(java.lang.String sum)
Sets the name of the sum variable. |
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 EditSetClassifierRoleCommand()
Method Detail |
---|
public void setClassifierRole(VOCLModel.SetClassifierRole setClassifierRole)
setClassifierRole
- the set classifier role to set.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
- value the new typepublic void setOpKind(java.lang.String opKind)
opKind
- the new operation kindpublic void setSizeVariableName(java.lang.String size)
size
- the size variable namepublic void setIteratorVariableName(java.lang.String iterator)
iterator
- the iterator variable namepublic void setSumVariableName(java.lang.String sum)
sum
- the sum variable namepublic 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.lang.String opKind, java.lang.String sizeName, java.lang.String iteratorName, java.lang.String sumName, java.util.Hashtable changedVariables, java.util.List attributes)
name
- the new nametype
- the new typeopKind
- the new operation kindattributes
- the new list of attributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |