// deleteCmd.setChild(getHost().getModel());
// return deleteCmd;
}
else if (getHost().getParent().getModel() instanceof IWebflowState
|| getHost().getParent().getModel() instanceof IInlineFlowState) {
IWebflowModelElement parent = (IWebflowModelElement) (getHost()
.getParent().getModel());
DeleteCommand deleteCmd = new DeleteCommand();
deleteCmd.setParent(parent);
deleteCmd.setChild((IState) (getHost().getModel()));
return deleteCmd;