Class AddConnectionContext
java.lang.Object
org.eclipse.graphiti.PropertyBag
org.eclipse.graphiti.internal.features.context.impl.base.DefaultContext
org.eclipse.graphiti.features.context.impl.LocationContext
org.eclipse.graphiti.features.context.impl.AreaContext
org.eclipse.graphiti.features.context.impl.AddContext
org.eclipse.graphiti.features.context.impl.AddConnectionContext
- All Implemented Interfaces:
IAddConnectionContext, IAddContext, IAreaContext, IConnectionContext, IContext, ILocationContext, ITargetConnectionContext, ITargetConnectionDecoratorContext, ITargetContext, IPropertyBag
The Class AddConnectionContext.
-
Constructor Summary
ConstructorsConstructorDescriptionAddConnectionContext(Anchor sourceAnchor, Anchor targetAnchor) Creates a newAddConnectionContext. -
Method Summary
Methods inherited from class AddContext
getNewObject, getTargetConnection, getTargetConnectionDecorator, getTargetContainer, setNewObject, setTargetConnection, setTargetConnectionDecorator, setTargetContainerMethods inherited from class LocationContext
getX, getY, setLocation, setX, setYMethods inherited from class PropertyBag
getProperty, getPropertyKeys, putPropertyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface IAddContext
getNewObjectMethods inherited from interface IAreaContext
getHeight, getWidthMethods inherited from interface ILocationContext
getX, getYMethods inherited from interface IPropertyBag
getProperty, getPropertyKeys, putPropertyMethods inherited from interface ITargetConnectionContext
getTargetConnectionMethods inherited from interface ITargetConnectionDecoratorContext
getTargetConnectionDecoratorMethods inherited from interface ITargetContext
getTargetContainer
-
Constructor Details
-
AddConnectionContext
Creates a newAddConnectionContext.- Parameters:
sourceAnchor- the source anchortargetAnchor- the target anchor
-
-
Method Details
-
getSourceAnchor
Description copied from interface:IConnectionContextGets the source anchor.- Specified by:
getSourceAnchorin interfaceIConnectionContext- Returns:
- the source anchor
-
getTargetAnchor
Description copied from interface:IConnectionContextGets the target anchor.- Specified by:
getTargetAnchorin interfaceIConnectionContext- Returns:
- the target anchor
-
toString
- Overrides:
toStringin classAddContext
-