|
||||||||||
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.gmf.runtime.lite.commands.ReplaceNotationalElementCommand
public class ReplaceNotationalElementCommand
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
org.eclipse.emf.common.command.AbstractCommand.NonDirtying |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
description, isExecutable, isPrepared, label |
Constructor Summary | |
---|---|
ReplaceNotationalElementCommand(org.eclipse.gmf.runtime.notation.View parentView,
CreateNotationalElementCommand createCommand,
org.eclipse.gmf.runtime.notation.View obsoleteView)
|
Method Summary | |
---|---|
boolean |
canExecute()
|
boolean |
canUndo()
|
void |
execute()
|
void |
redo()
|
void |
undo()
|
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
chain, dispose, getAffectedObjects, getDescription, getLabel, getResult, prepare, setDescription, setLabel, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ReplaceNotationalElementCommand(org.eclipse.gmf.runtime.notation.View parentView, CreateNotationalElementCommand createCommand, org.eclipse.gmf.runtime.notation.View obsoleteView)
Method Detail |
---|
public boolean canExecute()
canExecute
in interface org.eclipse.emf.common.command.Command
canExecute
in class org.eclipse.emf.common.command.AbstractCommand
public boolean canUndo()
canUndo
in interface org.eclipse.emf.common.command.Command
canUndo
in class org.eclipse.emf.common.command.AbstractCommand
public void execute()
public void undo()
undo
in interface org.eclipse.emf.common.command.Command
undo
in class org.eclipse.emf.common.command.AbstractCommand
public void redo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |