Package org.eclipse.gef.commands
Class UnexecutableCommand
- java.lang.Object
-
- org.eclipse.gef.commands.Command
-
- org.eclipse.gef.commands.UnexecutableCommand
-
public final class UnexecutableCommand extends Command
A Command which can never be executed
-
-
Field Summary
Fields Modifier and Type Field Description static UnexecutableCommand
INSTANCE
The singleton instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canExecute()
boolean
canUndo()
-
-
-
Field Detail
-
INSTANCE
public static final UnexecutableCommand INSTANCE
The singleton instance
-
-
Method Detail
-
canExecute
public boolean canExecute()
- Overrides:
canExecute
in classCommand
- Returns:
false
-
-