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 org.eclipse.graphiti.features.context.impl.AddContext
getNewObject, getTargetConnection, getTargetConnectionDecorator, getTargetContainer, setNewObject, setTargetConnection, setTargetConnectionDecorator, setTargetContainerMethods inherited from class org.eclipse.graphiti.features.context.impl.AreaContext
getHeight, getWidth, setHeight, setSize, setWidthMethods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext
getX, getY, setLocation, setX, setYMethods inherited from class org.eclipse.graphiti.PropertyBag
getProperty, getPropertyKeys, putPropertyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.features.context.IAddContext
getNewObjectMethods inherited from interface org.eclipse.graphiti.features.context.IAreaContext
getHeight, getWidthMethods inherited from interface org.eclipse.graphiti.features.context.ILocationContext
getX, getYMethods inherited from interface org.eclipse.graphiti.IPropertyBag
getProperty, getPropertyKeys, putPropertyMethods inherited from interface org.eclipse.graphiti.features.context.ITargetConnectionContext
getTargetConnectionMethods inherited from interface org.eclipse.graphiti.features.context.ITargetConnectionDecoratorContext
getTargetConnectionDecoratorMethods inherited from interface org.eclipse.graphiti.features.context.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
-