Interface IReconnectionContext
- All Superinterfaces:
IContext
,IPropertyBag
- All Known Implementing Classes:
ReconnectionContext
The Interface IReconnectionContext.
-
Method Summary
Modifier and TypeMethodDescriptionGets the connection.Gets the new anchor.Gets the old anchor.Indicate whether the end of an existing connection is being reconnected to a new source node or a new target node.Gets the target pictogram element.void
setTargetPictogramElement
(PictogramElement targetPictogramElement) Sets the target pictogram element.Methods inherited from interface org.eclipse.graphiti.IPropertyBag
getProperty, getPropertyKeys, putProperty
-
Method Details
-
getConnection
Connection getConnection()Gets the connection.- Returns:
- the connection
-
getOldAnchor
Anchor getOldAnchor()Gets the old anchor.- Returns:
- the old anchor
-
getNewAnchor
Anchor getNewAnchor()Gets the new anchor.- Returns:
- the new anchor
-
getTargetPictogramElement
PictogramElement getTargetPictogramElement()Gets the target pictogram element.- Returns:
- the target pictogram element
-
setTargetPictogramElement
Sets the target pictogram element.- Parameters:
targetPictogramElement
- the new target pictogram element
-
getReconnectType
String getReconnectType()Indicate whether the end of an existing connection is being reconnected to a new source node or a new target node. -
getTargetLocation
ILocation getTargetLocation()- Returns:
- the targetLocation
- Since:
- 0.8
-