|
||||||||||
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.CreateNotationalElementCommand
org.eclipse.gmf.runtime.lite.commands.CreateNotationalEdgeCommand
public class CreateNotationalEdgeCommand
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 | |
---|---|
CreateNotationalEdgeCommand(org.eclipse.gmf.runtime.notation.Diagram parent,
org.eclipse.emf.ecore.EObject domainElement,
org.eclipse.gmf.runtime.notation.View source,
org.eclipse.gmf.runtime.notation.View target,
IViewDecorator decorator)
|
Method Summary | |
---|---|
boolean |
canUndo()
|
void |
execute()
|
protected boolean |
prepare()
|
void |
redo()
|
void |
undo()
|
Methods inherited from class org.eclipse.gmf.runtime.lite.commands.CreateNotationalElementCommand |
---|
getCreatedView, getParent, setCreatedView |
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 CreateNotationalEdgeCommand(org.eclipse.gmf.runtime.notation.Diagram parent, org.eclipse.emf.ecore.EObject domainElement, org.eclipse.gmf.runtime.notation.View source, org.eclipse.gmf.runtime.notation.View target, IViewDecorator decorator)
Method Detail |
---|
protected boolean prepare()
prepare
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 |