org.topcased.modeler.uml.deploymentdiagram.commands
Class ReconnectCommunicationPathEdgeCommand
java.lang.Object
ReconnectGraphEdgeCommand
org.topcased.modeler.uml.deploymentdiagram.commands.ReconnectCommunicationPathEdgeCommand
public class ReconnectCommunicationPathEdgeCommand
- 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 |
initializeConnectors(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
ReconnectCommunicationPathEdgeCommand
public ReconnectCommunicationPathEdgeCommand(org.eclipse.gef.ConnectionEditPart connection,
int reconnectionEnd)
getOldGraphElement
protected GraphElement getOldGraphElement(org.eclipse.gef.ConnectionEditPart connection)
initializeConnectors
protected void initializeConnectors(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.