org.eclipse.gef.commands
Class UnexecutableCommand
java.lang.Object
|
+--org.eclipse.gef.commands.Command
|
+--org.eclipse.gef.commands.UnexecutableCommand
- public class UnexecutableCommand
- extends Command
A Command which can never be executed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final UnexecutableCommand INSTANCE
- The singleton instance
canExecute
public boolean canExecute()
- Overrides:
canExecute
in class Command
- Returns:
false
canUndo
public boolean canUndo()
- Overrides:
canUndo
in class Command
- Returns:
false
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.