Package org.springframework.ide.eclipse.webflow.ui.graph.commands

Examples of org.springframework.ide.eclipse.webflow.ui.graph.commands.DeleteExceptionHandlerCommand


      DeleteActionCommand deleteCmd = new DeleteActionCommand();
      deleteCmd.setChild((IActionElement) (getHost().getModel()));
      return deleteCmd;
    }
    else if (getHost().getModel() instanceof IExceptionHandler) {
      DeleteExceptionHandlerCommand deleteCmd = new DeleteExceptionHandlerCommand();
      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;
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.webflow.ui.graph.commands.DeleteExceptionHandlerCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.