public class ModelScriptMenuEditor.AddNodesCommand extends ModelScriptMenuEditor.ModelMenuCommand
Constructor and Description |
---|
AddNodesCommand(MenuEntry parent,
java.util.Collection<MenuNode> nodes,
int idx,
java.lang.String cmdName) |
AddNodesCommand(MenuEntry parent,
MenuNode node,
int idx,
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 AddNodesCommand(MenuEntry parent, MenuNode node, int idx, java.lang.String cmdName)
public void execute()
Command
public void undo()
Command
public java.lang.String getName()
Command