|
|||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.eclipse.emf.common.command.AbstractCommand
|
+--org.eclipse.emf.common.command.UnexecutableCommand
A singleton INSTANCE that cannot execute.
| Field Summary | |
static UnexecutableCommand |
INSTANCE
The one instance of this object. |
| Fields inherited from class org.eclipse.emf.common.command.AbstractCommand |
description, isExecutable, isPrepared, label |
| Method Summary | |
boolean |
canExecute()
Returns false. |
boolean |
canUndo()
Returns false. |
void |
execute()
Throws an exception if it should ever be called. |
void |
redo()
Throws an exception if it should ever be called. |
| Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
chain, dispose, getAffectedObjects, getDescription, getLabel, getResult, prepare, setDescription, setLabel, toString, undo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final UnexecutableCommand INSTANCE
| Method Detail |
public boolean canExecute()
false.canExecute in class AbstractCommandfalse.public void execute()
UnsupportedOperationException - always.public boolean canUndo()
false.canUndo in class AbstractCommandfalse.public void redo()
UnsupportedOperationException - always.
|
Copyright 2001-2003 IBM Corporation and others. All Rights Reserved. |
||||||||
| PREV CLASS SOURCE NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||