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

java.lang.Object
  extended by DefaultContext
      extended by org.eclipse.graphiti.features.context.impl.LocationContext
          extended by org.eclipse.graphiti.features.context.impl.MoveContext
              extended by org.eclipse.graphiti.features.context.impl.MoveBendpointContext
All Implemented Interfaces:
IBendpointContext, IContext, ILocationContext, IMoveBendpointContext, IMoveContext, IPropertyBag

public class MoveBendpointContext
extends MoveContext
implements IMoveBendpointContext

The Class MoveBendpointContext.


Field Summary
private  Point bendpoint
           
private  int bendpointIndex
           
private  FreeFormConnection connection
           
 
Constructor Summary
MoveBendpointContext(Point bendpoint)
          Creates a new MoveBendpointContext.
 
Method Summary
 Point getBendpoint()
          Gets the bendpoint.
 int getBendpointIndex()
          Gets the bendpoint index.
 FreeFormConnection getConnection()
          Gets the connection.
private  void setBendpoint(Point bendpoint)
           
 void setBendpointIndex(int bendpointIndex)
          Sets the bendpoint index.
 void setConnection(FreeFormConnection freeFormConnection)
          Sets the connection.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.graphiti.features.context.impl.LocationContext
getX, getY, setLocation, setX, setY
 
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
 

Field Detail

bendpoint

private Point bendpoint

bendpointIndex

private int bendpointIndex

connection

private FreeFormConnection connection
Constructor Detail

MoveBendpointContext

public MoveBendpointContext(Point bendpoint)
Creates a new MoveBendpointContext.

Parameters:
bendpoint - the bendpoint
Method Detail

getBendpoint

public Point getBendpoint()
Gets the bendpoint.

Specified by:
getBendpoint in interface IBendpointContext
Returns:
Returns the bendpoint.

setBendpoint

private void setBendpoint(Point bendpoint)
Parameters:
bendpoint - The bendpoint to set.

getBendpointIndex

public int getBendpointIndex()
Description copied from interface: IBendpointContext
Gets the bendpoint index.

Specified by:
getBendpointIndex in interface IBendpointContext
Returns:
the bendpoint index

getConnection

public FreeFormConnection getConnection()
Description copied from interface: IBendpointContext
Gets the connection.

Specified by:
getConnection in interface IBendpointContext
Returns:
the connection

setBendpointIndex

public void setBendpointIndex(int bendpointIndex)
Sets the bendpoint index.

Parameters:
bendpointIndex - the new bendpoint index

setConnection

public void setConnection(FreeFormConnection freeFormConnection)
Sets the connection.

Parameters:
freeFormConnection - the new connection

toString

public java.lang.String toString()
Overrides:
toString in class LocationContext


Copyright (c) SAP AG 2005, 2012.