Constructor and Description |
---|
RemoveComponentsCommand(java.lang.String name,
java.util.List<? extends ModelComponent> delete) |
RemoveComponentsCommand(java.lang.String name,
java.util.List<? extends ModelComponent> delete,
java.util.List<? extends ModelComponent> update) |
RemoveComponentsCommand(java.lang.String name,
ModelComponent comp) |
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 RemoveComponentsCommand(java.lang.String name, java.util.List<? extends ModelComponent> delete)
public RemoveComponentsCommand(java.lang.String name, java.util.List<? extends ModelComponent> delete, java.util.List<? extends ModelComponent> update)
public RemoveComponentsCommand(java.lang.String name, ModelComponent comp)