Class SplitConnectionContext
- java.lang.Object
-
- org.eclipse.graphiti.PropertyBag
-
- org.eclipse.graphiti.internal.features.context.impl.base.DefaultContext
-
- org.eclipse.graphiti.features.context.impl.SplitConnectionContext
-
- All Implemented Interfaces:
IContext,ISplitConnectionContext,IPropertyBag
public class SplitConnectionContext extends DefaultContext implements ISplitConnectionContext
The Class SplitConnectionContext.
-
-
Constructor Summary
Constructors Constructor Description SplitConnectionContext(Connection connection, Shape shape)Creates a newSplitConnectionContext.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectiongetConnection()Gets the connection.ShapegetShape()Gets the shape.java.lang.StringtoString()-
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.IPropertyBag
getProperty, getPropertyKeys, putProperty
-
-
-
-
Constructor Detail
-
SplitConnectionContext
public SplitConnectionContext(Connection connection, Shape shape)
Creates a newSplitConnectionContext.- Parameters:
connection- the connectionshape- the shape
-
-
Method Detail
-
getConnection
public Connection getConnection()
Description copied from interface:ISplitConnectionContextGets the connection.- Specified by:
getConnectionin interfaceISplitConnectionContext- Returns:
- the connection
-
getShape
public Shape getShape()
Description copied from interface:ISplitConnectionContextGets the shape.- Specified by:
getShapein interfaceISplitConnectionContext- Returns:
- the shape
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDefaultContext
-
-