* @param connection
* a GraphConnection
*/
private static void drawDecompositionConnectionEnd(
GraphConnection connection) {
PolygonDecoration decoration = new PolygonDecoration();
PointList decorationPointList = new PointList();
decorationPointList.addPoint(0, 0);
decorationPointList.addPoint(-1, 0);
decorationPointList.addPoint(-1, -2);
decorationPointList.addPoint(-1, +2);
decorationPointList.addPoint(-1, 0);
decoration.setTemplate(decorationPointList);
((PolylineConnection) connection.getConnectionFigure())
.setTargetDecoration(decoration);
}