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

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


      }
      else if (part.getModel() instanceof IExceptionHandler) {
        IState state = (IState) getHost().getModel();
        if (!(state instanceof IWebflowState)
            && !(state instanceof IInlineFlowState)) {
          ExceptionHandlerCloneCommand orphan = new ExceptionHandlerCloneCommand();
          orphan.setChild((IExceptionHandler) ((EditPart) parts.get(i))
              .getModel());
          orphan.setNewState((IWebflowModelElement) getHost()
              .getModel());
          result.add(orphan);
        }
      }
      else if (part.getModel() instanceof IAttributeMapper) {
        IState state = (IState) getHost().getModel();
        if (state instanceof SubflowState
            && ((SubflowState) state).getAttributeMapper() == null) {
          AttributeMapperCloneCommand orphan = new AttributeMapperCloneCommand();
          orphan.setChild((IAttributeMapper) ((EditPart) parts.get(i))
              .getModel());
          orphan.setNewState((IWebflowModelElement) getHost()
              .getModel());
          result.add(orphan);
        }
      }
    }
View Full Code Here

TOP

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

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.