if (affected)
{
// Notify possibly affected sockets of the DnD operation
String eventType = on ? VisualElementEvent.SET_DND_PARTICIPANT : VisualElementEvent.UNSET_DND_PARTICIPANT;
socketFigure.handleEvent(new VisualElementEvent(eventType, getEditor()));
}
}
}
}
}