org.eclipse.graphiti.features.context.impl
Class AddConnectionContext
java.lang.Object
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
public class AddConnectionContext
- extends AddContext
- implements IAddConnectionContext
The Class AddConnectionContext.
sourceAnchor
Anchor sourceAnchor
- The target anchor.
targetAnchor
Anchor targetAnchor
- The target anchor.
AddConnectionContext
public AddConnectionContext(Anchor sourceAnchor,
Anchor targetAnchor)
- Creates a new
AddConnectionContext
.
- Parameters:
sourceAnchor
- the source anchortargetAnchor
- the target anchor
getSourceAnchor
public Anchor getSourceAnchor()
- Description copied from interface:
IConnectionContext
- Gets the source anchor.
- Specified by:
getSourceAnchor
in interface IConnectionContext
- Returns:
- the source anchor
getTargetAnchor
public Anchor getTargetAnchor()
- Description copied from interface:
IConnectionContext
- Gets the target anchor.
- Specified by:
getTargetAnchor
in interface IConnectionContext
- Returns:
- the target anchor
toString
public String toString()
- Overrides:
toString
in class AddContext
Copyright (c) SAP AG 2005, 2010.