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
The Class AreaAnchorContext.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the anchor.Gets the source container.Gets the target container.void
setSourceContainer
(AnchorContainer sourceContainer) Sets the source container.void
setTargetContainer
(AnchorContainer targetContainer) Sets the target container.toString()
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 Details
-
AreaAnchorContext
Creates a newAreaAnchorContext
.- Parameters:
anchor
- the anchor
-
-
Method Details
-
getAnchor
Gets the anchor.- Specified by:
getAnchor
in interfaceIMoveAnchorContext
- Returns:
- Returns the anchor.
-
getSourceContainer
Description copied from interface:IMoveAnchorContext
Gets the source container.- Specified by:
getSourceContainer
in interfaceIMoveAnchorContext
- Returns:
- the source container
-
getTargetContainer
Description copied from interface:IMoveAnchorContext
Gets the target container.- Specified by:
getTargetContainer
in interfaceIMoveAnchorContext
- Returns:
- the target container
-
setSourceContainer
Sets the source container.- Parameters:
sourceContainer
- The sourceContainer to set.
-
setTargetContainer
Sets the target container.- Parameters:
targetContainer
- The targetContainer to set.
-
toString
- Overrides:
toString
in classAreaContext
-