|
||||||||||
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.ChangeLocationCommand
public class ChangeLocationCommand
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 | |
---|---|
ChangeLocationCommand(org.eclipse.gmf.runtime.notation.Node node,
org.eclipse.gef.requests.ChangeBoundsRequest request,
org.eclipse.draw2d.IFigure figure)
|
Method Summary | |
---|---|
boolean |
canUndo()
|
void |
execute()
|
protected boolean |
prepare()
|
void |
redo()
|
void |
undo()
|
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand |
---|
canExecute, chain, dispose, getAffectedObjects, getDescription, getLabel, getResult, setDescription, setLabel, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChangeLocationCommand(org.eclipse.gmf.runtime.notation.Node node, org.eclipse.gef.requests.ChangeBoundsRequest request, org.eclipse.draw2d.IFigure figure)
Method Detail |
---|
public boolean canUndo()
canUndo
in interface org.eclipse.emf.common.command.Command
canUndo
in class org.eclipse.emf.common.command.AbstractCommand
protected boolean prepare()
prepare
in class org.eclipse.emf.common.command.AbstractCommand
public void undo()
undo
in interface org.eclipse.emf.common.command.Command
undo
in class org.eclipse.emf.common.command.AbstractCommand
public void execute()
public void redo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |