|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gef.commands.Command
org.topcased.modeler.commands.CreateGraphEdgeCommand
org.topcased.modeler.commands.CreateTypedEdgeCommand
public abstract class CreateTypedEdgeCommand
Handle edge creation
creation : 15 juin 2005
| Constructor Summary | |
|---|---|
CreateTypedEdgeCommand(org.eclipse.gef.EditDomain domain,
GraphEdge newObj,
GraphElement src,
boolean needModelUpdate)
The constructor |
|
| Method Summary | |
|---|---|
protected EObject |
getContainerEObject()
Retrieve the container EObject from the container Type parameter |
protected void |
redoModel()
Update the model after at the end of the redo() method. |
void |
setSourceTargetData(SourceTargetData data)
Update the source target data |
protected void |
undoModel()
Update the model at the end of the undo() method. |
| Methods inherited from class org.topcased.modeler.commands.CreateGraphEdgeCommand |
|---|
canExecute, execute, getContainer, getEdge, getEditDomain, getSource, getTarget, initName, initName, isUpdateModel, redo, setTarget, undo |
| Methods inherited from class org.eclipse.gef.commands.Command |
|---|
canUndo, chain, dispose, getDebugLabel, getLabel, setDebugLabel, setLabel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CreateTypedEdgeCommand(org.eclipse.gef.EditDomain domain,
GraphEdge newObj,
GraphElement src,
boolean needModelUpdate)
domain - the edit domainnewObj - the edgesrc - the graph element sourceneedModelUpdate - | Method Detail |
|---|
public void setSourceTargetData(SourceTargetData data)
data - protected EObject getContainerEObject()
protected void redoModel()
CreateGraphEdgeCommand
redoModel in class CreateGraphEdgeCommandCreateGraphEdgeCommand.redoModel()protected void undoModel()
CreateGraphEdgeCommand
undoModel in class CreateGraphEdgeCommandCreateGraphEdgeCommand.undoModel()
|
Modelers | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.