else if (request.getNewObject() instanceof IIfTransition) {
if (!(getHost().getModel() instanceof IIf))
return null;
if (((IIf) getHost().getModel()).getElseTransition() != null)
return null;
IfTransitionCreateCommand cmd = new IfTransitionCreateCommand();
cmd.setSource((IIf) getHost().getModel());
request.setStartCommand(cmd);
return cmd;
}
return null;
}