|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCommand
com.pnp.xfeature.commands.DirectEditCommand
public class DirectEditCommand
The Command class used to rename a node of a feature model diagram
| Constructor Summary | |
|---|---|
DirectEditCommand()
|
|
| Method Summary | |
|---|---|
void |
execute()
sets the new name |
void |
setModel(java.lang.Object model)
sets the node model to the internal private variable |
void |
setName(java.lang.String name)
sets the new name to the internal private variable |
void |
undo()
sets the name of the feature to its old name (saved when executing the command for the first time) |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DirectEditCommand()
| Method Detail |
|---|
public void execute()
org.eclipse.gef.commands.Command#execute()public void setModel(java.lang.Object model)
model - public void setName(java.lang.String name)
name - public void undo()
org.eclipse.gef.commands.Command#undo()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||