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 Connection
getConnection()
Gets the connection.Shape
getShape()
Gets the shape.java.lang.String
toString()
-
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:ISplitConnectionContext
Gets the connection.- Specified by:
getConnection
in interfaceISplitConnectionContext
- Returns:
- the connection
-
getShape
public Shape getShape()
Description copied from interface:ISplitConnectionContext
Gets the shape.- Specified by:
getShape
in interfaceISplitConnectionContext
- Returns:
- the shape
-
toString
public java.lang.String toString()
- Overrides:
toString
in classDefaultContext
-
-