public class ModelScriptMenuEditor.RemoveNodesCommand extends ModelScriptMenuEditor.ModelMenuCommand
Constructor and Description |
---|
RemoveNodesCommand(java.util.Collection<MenuNode> nodes,
java.lang.String cmdName) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes this command.
|
java.lang.String |
getName()
Gets the name associated with this command.
|
void |
undo()
Undoes the result of executing this command.
|
public RemoveNodesCommand(java.util.Collection<MenuNode> nodes, java.lang.String cmdName)
public void execute()
Command
public void undo()
Command
public java.lang.String getName()
Command