org.jupe.editors.classdiagram.graphics.connections
Interface IConnectionFigure

All Known Implementing Classes:
AbstractConnectionFigure, CommentConnectionFigure, DependencyFigure, HierarchicFigure, RelationFigure

public interface IConnectionFigure

Interface to define connection figures (figures that represent connections between node figures).

Author:
Michael Pradel

Method Summary
 org.eclipse.draw2d.Figure getEndFigure()
          This method returns the end point of a connection as a Figure.
 org.eclipse.draw2d.Figure getStartFigure()
          This method returns the start point of a connection as a Figure.
 void setEndFigure(org.eclipse.draw2d.Figure newEndFigure)
          This method sets the end point of a connection.
 void setStartFigure(org.eclipse.draw2d.Figure newStartFigure)
          This method sets the start point of a connection.
 

Method Detail

getEndFigure

org.eclipse.draw2d.Figure getEndFigure()
This method returns the end point of a connection as a Figure.

Returns:
end point of connection

getStartFigure

org.eclipse.draw2d.Figure getStartFigure()
This method returns the start point of a connection as a Figure.

Returns:
start point of connection

setEndFigure

void setEndFigure(org.eclipse.draw2d.Figure newEndFigure)
This method sets the end point of a connection. The target has to be a Figure.

Parameters:
newEndFigure - the Figure which should be the end point of the connection

setStartFigure

void setStartFigure(org.eclipse.draw2d.Figure newStartFigure)
This method sets the start point of a connection. The target has to be a Figure.

Parameters:
newStartFigure - the Figure should be the start point of the connection