private void toggleDecorator(boolean on)
{
if (startConnector != null && connectionFigure instanceof FlowConnection)
{
Figure startSocketFigure = startConnector.owner();
// If control connectors are hidden, make sure we display the connectors we can connect to
if (!ViewModeMgr.getInstance().isControlAnchorVisible())
{
for (Iterator it = ((ProcessDrawing) getDrawing()).getNodeFigures(); it.hasNext();)
{
NodeFigure nodeFigure = (NodeFigure) it.next();
for (FigureEnumeration fe = nodeFigure.figures(); fe.hasMoreElements();)
{
Figure f = fe.nextFigure();
if (f instanceof SocketFigure)
{
SocketFigure socketFigure = (SocketFigure) f;
boolean affected = false;