org.eclipse.graphiti.features.context.impl
Class SplitConnectionContext

java.lang.Object
  extended by DefaultContext
      extended by org.eclipse.graphiti.features.context.impl.SplitConnectionContext
All Implemented Interfaces:
IContext, ISplitConnectionContext, IPropertyBag

public class SplitConnectionContext
extends DefaultContext
implements ISplitConnectionContext

The Class SplitConnectionContext.


Field Summary
private  Connection connection
           
private  Shape shape
           
 
Constructor Summary
SplitConnectionContext(Connection connection, Shape shape)
          Creates a new SplitConnectionContext.
 
Method Summary
 Connection getConnection()
          Gets the connection.
 Shape getShape()
          Gets the shape.
 String toString()
           
 
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, putProperty
 

Field Detail

connection

private Connection connection

shape

private Shape shape
Constructor Detail

SplitConnectionContext

public SplitConnectionContext(Connection connection,
                              Shape shape)
Creates a new SplitConnectionContext.

Parameters:
connection - the connection
shape - the shape
Method Detail

getConnection

public Connection getConnection()
Description copied from interface: ISplitConnectionContext
Gets the connection.

Specified by:
getConnection in interface ISplitConnectionContext
Returns:
the connection

getShape

public Shape getShape()
Description copied from interface: ISplitConnectionContext
Gets the shape.

Specified by:
getShape in interface ISplitConnectionContext
Returns:
the shape

toString

public String toString()


Copyright (c) SAP AG 2005, 2010.