|
||||||||||
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.SetBoundsCommand
public class SetBoundsCommand
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 | |
---|---|
SetBoundsCommand(org.eclipse.gmf.runtime.notation.Node node,
org.eclipse.draw2d.geometry.Rectangle bounds)
|
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 SetBoundsCommand(org.eclipse.gmf.runtime.notation.Node node, org.eclipse.draw2d.geometry.Rectangle bounds)
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 redo()
public void execute()
public void undo()
undo
in interface org.eclipse.emf.common.command.Command
undo
in class org.eclipse.emf.common.command.AbstractCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |