|
||||||||||
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.CreateSetClassifierRoleCommand
public class CreateSetClassifierRoleCommand
Constructor Summary | |
---|---|
CreateSetClassifierRoleCommand()
The default constructor. |
Method Summary | |
---|---|
void |
execute()
Entry point for command execution. |
VOCLModel.NavExp |
getParent()
Returns the parent nav exp. |
VOCLModel.SetClassifierRole |
getSetClassifierRole()
Returns the set classifier role. |
void |
redo()
Redo command execution. |
void |
setAttributes(java.util.List attributes)
Sets the list of attributes. |
void |
setCommandAttributes(java.lang.String name,
java.lang.String type,
java.lang.String opKind,
java.lang.String size,
java.lang.String iterator,
java.lang.String sum,
java.util.List attributes)
Sets the command attributes. |
void |
setIteratorVariable(java.lang.String iterator)
Sets the iterator variable name. |
void |
setLocation(org.eclipse.draw2d.geometry.Point loc)
Sets the location where the set classifier role located. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setOpKind(java.lang.String opKind)
Sets the operation kind. |
void |
setParent(VOCLModel.NavExp newParent)
Sets the parent nav exp. |
void |
setSetClassifierRole(VOCLModel.SetClassifierRole setClassifierRole)
Sets the set classifier role. |
void |
setSizeVariable(java.lang.String size)
Sets the size variable name. |
void |
setSumVariable(java.lang.String sum)
Sets the sum variable name. |
void |
setType(java.lang.String type)
Sets the 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 CreateSetClassifierRoleCommand()
Method Detail |
---|
public void execute()
execute
in class org.eclipse.gef.commands.Command
public void redo()
redo
in class org.eclipse.gef.commands.Command
public void undo()
undo
in class org.eclipse.gef.commands.Command
public VOCLModel.NavExp getParent()
public void setParent(VOCLModel.NavExp newParent)
newParent
- the new parent nav exp to setpublic VOCLModel.SetClassifierRole getSetClassifierRole()
public void setSetClassifierRole(VOCLModel.SetClassifierRole setClassifierRole)
setClassifierRole
- the set classifier role to setpublic void setLocation(org.eclipse.draw2d.geometry.Point loc)
loc
- the locationpublic void setName(java.lang.String name)
name
- the namepublic void setType(java.lang.String type)
type
- the typepublic void setOpKind(java.lang.String opKind)
opKind
- the operation kindpublic void setSizeVariable(java.lang.String size)
size
- the size variable namepublic void setIteratorVariable(java.lang.String iterator)
iterator
- the iterator variable namepublic void setSumVariable(java.lang.String sum)
sum
- the sum variable namepublic void setAttributes(java.util.List attributes)
attributes
- the list of attributespublic void setCommandAttributes(java.lang.String name, java.lang.String type, java.lang.String opKind, java.lang.String size, java.lang.String iterator, java.lang.String sum, java.util.List attributes)
name
- the nametype
- the typeopKind
- the operation kindsize
- the size variableattributes
- the list of attributes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |