public class ModelScriptMenuEditor.ShiftNodesCommand extends ModelScriptMenuEditor.ModelMenuCommand
Constructor and Description |
---|
ShiftNodesCommand(MenuEntry parent,
int minIdx,
int maxIdx,
int shift,
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 ShiftNodesCommand(MenuEntry parent, int minIdx, int maxIdx, int shift, java.lang.String cmdName)
public void execute()
Command
public void undo()
Command
public java.lang.String getName()
Command