1314151617181920212223
@Override protected Command getConnectionCompleteCommand(CreateConnectionRequest request) { Node node = getNode(); TransitionCreateCommand command = (TransitionCreateCommand) request.getStartCommand(); if (!node.canAddArrivingTransition(command.getSource())) { return null; } command.setTarget(node); return command; }