org.vectomatic.client.rep.command
Class NewShapeCommand
java.lang.Object
org.vectomatic.client.rep.command.CommandBase
org.vectomatic.client.rep.command.NewShapeCommand
- All Implemented Interfaces:
- ICommand
public class NewShapeCommand
- extends CommandBase
Command to add a new shape to the model
Fields inherited from class org.vectomatic.client.rep.command.CommandBase |
_app |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NewShapeCommand
public NewShapeCommand(RepApplication app,
Shape shape)
getDescription
public String getDescription()
- Description copied from interface:
ICommand
- Get the description of the command
unexecute
public void unexecute()
- Description copied from interface:
ICommand
- Undo the command
execute
public void execute()
- Description copied from interface:
ICommand
- Execute the command
Copyright © 2010. All Rights Reserved.