org.topcased.modeler.uml.alldiagram.commands
Class ReconnectAssociationEdgeCommand
java.lang.Object
ReconnectGraphEdgeCommand
org.topcased.modeler.uml.alldiagram.commands.ReconnectAssociationEdgeCommand
public class ReconnectAssociationEdgeCommand
- extends ReconnectGraphEdgeCommand
This command handles the reconnection of associations links.
Indeed they connect Type by updating their properties.
Field Summary |
static int |
SOURCE
Reconnecting the source end |
static int |
TARGET
Reconnectiong the target end |
Method Summary |
protected GraphElement |
getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
|
protected void |
redoModel()
|
protected void |
undoModel()
|
protected void |
updateConnectors(GraphConnector newConnector,
GraphConnector oldConnector,
GraphConnector attachedConnector)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE
public static final int SOURCE
- Reconnecting the source end
- See Also:
- Constant Field Values
TARGET
public static final int TARGET
- Reconnectiong the target end
- See Also:
- Constant Field Values
ReconnectAssociationEdgeCommand
public ReconnectAssociationEdgeCommand(org.eclipse.gef.ConnectionEditPart connection,
int reconnectionEnd)
getOldGraphElement
protected GraphElement getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
redoModel
protected void redoModel()
undoModel
protected void undoModel()
updateConnectors
protected void updateConnectors(GraphConnector newConnector,
GraphConnector oldConnector,
GraphConnector attachedConnector)
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.