*
*/
public void mouseReleased(MouseEvent e) {
Vector<Object> allCells = getGraph().getAllCellsForLocation(e.getPoint().x, e.getPoint().y);
TransitionModel transition = findTransitionInCell(allCells);
PlaceModel place = findPlaceInCell(allCells);
ArcModel arc = findArcInCell(allCells);
if (transition != null && transition.isActivated()) {
transitionClicked(transition, e);
} else
if (arc != null && arc.isActivated()) {
arcClicked(arc);
} else
if (place != null && place.isActivated()) {
// If an active place has been clicked there is only one reasonable explanation for this:
// It is a sink place of a sub-process
RemoteControl = ParentControl.getRemoteControlReference();
// De-register the sub-process
RemoteControl.changeTokenGameReference(null, true);