org.eclipse.gmf.runtime.lite.commands
Class RemoveNotationalEdgeCommand

java.lang.Object
  extended by org.eclipse.emf.common.command.AbstractCommand
      extended by org.eclipse.gmf.runtime.lite.commands.RemoveNotationalElementCommand
          extended by org.eclipse.gmf.runtime.lite.commands.RemoveNotationalEdgeCommand
All Implemented Interfaces:
org.eclipse.emf.common.command.Command

public class RemoveNotationalEdgeCommand
extends RemoveNotationalElementCommand


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
RemoveNotationalEdgeCommand(org.eclipse.gmf.runtime.notation.View parentView, org.eclipse.gmf.runtime.notation.View childView)
           
 
Method Summary
 void execute()
           
protected  boolean prepare()
           
 void undo()
           
 
Methods inherited from class org.eclipse.gmf.runtime.lite.commands.RemoveNotationalElementCommand
canUndo, getChildView, getParent, redo, restoreElement, sweepElement
 
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

RemoveNotationalEdgeCommand

public RemoveNotationalEdgeCommand(org.eclipse.gmf.runtime.notation.View parentView,
                                   org.eclipse.gmf.runtime.notation.View childView)
Method Detail

prepare

protected boolean prepare()
Overrides:
prepare in class RemoveNotationalElementCommand

execute

public void execute()
Specified by:
execute in interface org.eclipse.emf.common.command.Command
Overrides:
execute in class RemoveNotationalElementCommand

undo

public void undo()
Specified by:
undo in interface org.eclipse.emf.common.command.Command
Overrides:
undo in class RemoveNotationalElementCommand


Copyright © 2012. All Rights Reserved.