deleteCmd.setChild((IExceptionHandler) (getHost().getModel()));
return deleteCmd;
}
else if (getHost().getParent().getModel() instanceof IDecisionState
&& getHost().getModel() instanceof IIf) {
IDecisionState parent = (IDecisionState) (getHost().getParent()
.getModel());
DeleteIfCommand deleteCmd = new DeleteIfCommand();
deleteCmd.setParent(parent);
deleteCmd.setChild((IIf) (getHost().getModel()));
return deleteCmd;