Examples of EntryActions


Examples of org.springframework.ide.eclipse.webflow.core.internal.model.EntryActions

    }
    else if (child.getType() == IActionElement.ACTION_TYPE.ENTRY_ACTION
        && parent instanceof IState) {
      IState state = (IState) parent;
      if (state.getEntryActions() == null) {
        EntryActions entry = new EntryActions();
        entry.createNew(state);
        state.setEntryActions(entry);
      }
      child.setElementParent(state.getEntryActions());
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.EXIT_ACTION
        && parent instanceof IState) {
      IState state = (IState) parent;
      if (state.getExitActions() == null) {
        ExitActions entry = new ExitActions();
        entry.createNew(state);
        state.setExitActions(entry);
      }
      child.setElementParent(state.getExitActions());
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.EntryActions

    }
    else if (child.getType() == IActionElement.ACTION_TYPE.ENTRY_ACTION
        && newState instanceof IState) {
      IState state = (IState) newState;
      if (state.getEntryActions() == null) {
        EntryActions entry = new EntryActions();
        entry.createNew(state);
        state.setEntryActions(entry);
      }
      child.setElementParent(state.getEntryActions());
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.EXIT_ACTION
        && newState instanceof IState) {
      IState state = (IState) newState;
      if (state.getExitActions() == null) {
        ExitActions entry = new ExitActions();
        entry.createNew(state);
        state.setExitActions(entry);
      }
      child.setElementParent(state.getExitActions());
    }
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.EntryActions

      entryActions.addAll(this.decisionStateClone.getEntryActions()
          .getEntryActions());
    }
    else {
      entryActions = new ArrayList<IActionElement>();
      EntryActions entry = new EntryActions();
      entry.createNew(decisionStateClone);
      decisionStateClone.setEntryActions(entry);
    }
    if (this.decisionStateClone.getExitActions() != null) {
      exitActions = new ArrayList<IActionElement>();
      exitActions.addAll(this.decisionStateClone.getExitActions()
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.EntryActions

        this.decisionStateClone.setParent(trimString(getParent()));
      }
     
      if (decisionState.getEntryActions() == null
          && this.entryActions.size() > 0) {
        EntryActions entry = new EntryActions();
        entry.createNew(decisionStateClone);
        for (IActionElement a : this.entryActions) {
          entry.addEntryAction(a);
        }
        decisionStateClone.setEntryActions(entry);
      }
      else if (this.entryActions.size() == 0) {
        decisionStateClone.setEntryActions(null);
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.EntryActions

      entryActions = new ArrayList<IActionElement>();
      entryActions.addAll(this.viewStateClone.getEntryActions().getEntryActions());
    }
    else {
      entryActions = new ArrayList<IActionElement>();
      EntryActions entry = new EntryActions();
      entry.createNew(viewStateClone);
      viewStateClone.setEntryActions(entry);
    }
    if (this.viewStateClone.getExitActions() != null) {
      exitActions = new ArrayList<IActionElement>();
      exitActions.addAll(this.viewStateClone.getExitActions().getExitActions());
    }
    else {
      exitActions = new ArrayList<IActionElement>();
      ExitActions exit = new ExitActions();
      exit.createNew(viewStateClone);
      viewStateClone.setExitActions(exit);
    }
    if (this.viewStateClone.getRenderActions() != null) {
      renderActions = new ArrayList<IActionElement>();
      renderActions.addAll(this.viewStateClone.getRenderActions().getRenderActions());
    }
    else {
      renderActions = new ArrayList<IActionElement>();
      RenderActions entry = new RenderActions();
      entry.createNew(viewStateClone);
      viewStateClone.setRenderActions(entry);
    }

    exceptionHandler = new ArrayList<org.springframework.ide.eclipse.webflow.core.model.IExceptionHandler>();
    if (this.viewStateClone.getExceptionHandlers() != null) {
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.EntryActions

        this.viewStateClone.setPopup(Boolean.toString(this.popupText.getSelection()));
        this.viewStateClone.setModel(trimString(this.modelText.getText()));
      }
     
      if (viewState.getEntryActions() == null && this.entryActions.size() > 0) {
        EntryActions entry = new EntryActions();
        entry.createNew(viewStateClone);
        for (IActionElement a : this.entryActions) {
          entry.addEntryAction(a);
        }
        viewStateClone.setEntryActions(entry);
      }
      else if (this.entryActions.size() == 0) {
        viewStateClone.setEntryActions(null);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.