Class AreaAnchorContext
- 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.AreaAnchorContext
-
- All Implemented Interfaces:
IAreaContext,IContext,ILocationContext,IMoveAnchorContext,IMoveContext,IPropertyBag
public class AreaAnchorContext extends AreaContext implements IMoveAnchorContext
The Class AreaAnchorContext.
-
-
Constructor Summary
Constructors Constructor Description AreaAnchorContext(Anchor anchor)Creates a newAreaAnchorContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnchorgetAnchor()Gets the anchor.AnchorContainergetSourceContainer()Gets the source container.AnchorContainergetTargetContainer()Gets the target container.voidsetSourceContainer(AnchorContainer sourceContainer)Sets the source container.voidsetTargetContainer(AnchorContainer targetContainer)Sets the target container.java.lang.StringtoString()-
Methods inherited from class org.eclipse.graphiti.features.context.impl.AreaContext
getHeight, getWidth, setHeight, setSize, setWidth
-
Methods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext
getX, getY, setLocation, setX, setY
-
Methods inherited from class org.eclipse.graphiti.PropertyBag
getProperty, getPropertyKeys, putProperty
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.graphiti.features.context.ILocationContext
getX, getY
-
Methods inherited from interface org.eclipse.graphiti.IPropertyBag
getProperty, getPropertyKeys, putProperty
-
-
-
-
Constructor Detail
-
AreaAnchorContext
public AreaAnchorContext(Anchor anchor)
Creates a newAreaAnchorContext.- Parameters:
anchor- the anchor
-
-
Method Detail
-
getAnchor
public Anchor getAnchor()
Gets the anchor.- Specified by:
getAnchorin interfaceIMoveAnchorContext- Returns:
- Returns the anchor.
-
getSourceContainer
public AnchorContainer getSourceContainer()
Description copied from interface:IMoveAnchorContextGets the source container.- Specified by:
getSourceContainerin interfaceIMoveAnchorContext- Returns:
- the source container
-
getTargetContainer
public AnchorContainer getTargetContainer()
Description copied from interface:IMoveAnchorContextGets the target container.- Specified by:
getTargetContainerin interfaceIMoveAnchorContext- Returns:
- the target container
-
setSourceContainer
public void setSourceContainer(AnchorContainer sourceContainer)
Sets the source container.- Parameters:
sourceContainer- The sourceContainer to set.
-
setTargetContainer
public void setTargetContainer(AnchorContainer targetContainer)
Sets the target container.- Parameters:
targetContainer- The targetContainer to set.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAreaContext
-
-