CH.ifa.draw.standard
Class DeleteCommand
- java.lang.Object
-
- CH.ifa.draw.util.Command
-
- CH.ifa.draw.standard.DeleteCommand
-
public class DeleteCommand extends Command
Command to delete the selection.
-
-
Constructor Summary
Constructors Constructor and Description DeleteCommand(java.lang.String name, DrawingView view)Constructs a delete command.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidexecute()Executes the command.booleanisExecutable()Tests if the command can be executed.
-
-
-
Constructor Detail
-
DeleteCommand
public DeleteCommand(java.lang.String name, DrawingView view)Constructs a delete command.- Parameters:
name- the command nameview- the target view
-
-
Method Detail
-
execute
public void execute()
Description copied from class:CommandExecutes the command.
-
isExecutable
public boolean isExecutable()
Description copied from class:CommandTests if the command can be executed.- Overrides:
isExecutablein classCommand
-
-
DataMelt 3.0 © DataMelt by jWork.ORG