@Override
	public void paintOverlay( Graphics2D g ) {
		if( selection.isSelected() ) {
			Color color = Color.GRAY;
			if( selection.isPrimary() ) {
				color = Color.GREEN;
			}

			Point p1 = connection.getSourceEndPoint().getAttachement().getLanding();
			Point p2 = connection.getTargetEndPoint().getAttachement().getLanding();

			g.setColor( color );
			g.fillOval( p1.x - 3, p1.y - 3, 7, 7 );
			g.fillOval( p2.x - 3, p2.y - 3, 7, 7 );

			g.setColor( Color.BLACK );
			g.drawOval( p1.x - 3, p1.y - 3, 7, 7 );
			g.drawOval( p2.x - 3, p2.y - 3, 7, 7 );
		}
	}