cmd.setTarget((ITransitionableTo) getState());
return cmd;
}
else if (request.getConnectionEditPart().getModel() instanceof IIfTransition
&& getHost().getModel() instanceof ITransitionableTo) {
ReconnectIfTransitionTargetCommand cmd = new ReconnectIfTransitionTargetCommand();
cmd.setTransition((IIfTransition) request.getConnectionEditPart()
.getModel());
cmd.setTarget((ITransitionableTo) getState());
return cmd;
}
return null;
}