|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.command.AbstractCommand
org.eclipse.emf.common.command.UnexecutableCommand
A singleton INSTANCE
that cannot execute.
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.common.command.AbstractCommand |
AbstractCommand.NonDirtying |
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 interface Command
canExecute
in class AbstractCommand
false
.public void execute()
UnsupportedOperationException
- always.public boolean canUndo()
false
.
canUndo
in interface Command
canUndo
in class AbstractCommand
false
.public void redo()
UnsupportedOperationException
- always.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |