Examples of RenderActions


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

  }

  private static PaletteContainer createRenderActionsDrawer(boolean version1) {
    List<ToolEntry> entries = new ArrayList<ToolEntry>();

    IRenderActions exit = new RenderActions();
    IAction action = new Action();
    action.setElementParent(exit);

    WebflowModelLabelDecorator dec = new WebflowModelLabelDecorator();
View Full Code Here

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

      }
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.RENDER_ACTION) {
      IViewState viewState = (IViewState) parent;
      if (viewState.getRenderActions() == null) {
        RenderActions exit = new RenderActions();
        exit.createNew(viewState);
        viewState.setRenderActions(exit);
      }
      child.setElementParent(viewState.getRenderActions());
      if (index > 0) {
        viewState.getRenderActions().addRenderAction(child, index);
View Full Code Here

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

    }
    else if (child.getType() == IActionElement.ACTION_TYPE.RENDER_ACTION
        && parent instanceof IViewState) {
      IViewState state = (IViewState) parent;
      if (state.getRenderActions() == null) {
        RenderActions entry = new RenderActions();
        entry.createNew(state);
        state.setRenderActions(entry);
      }
      child.setElementParent(state.getRenderActions());
    }
    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.RenderActions

    }
    else if (child.getType() == IActionElement.ACTION_TYPE.RENDER_ACTION
        && newState instanceof IViewState) {
      IViewState state = (IViewState) newState;
      if (state.getRenderActions() == null) {
        RenderActions entry = new RenderActions();
        entry.createNew(state);
        state.setRenderActions(entry);
      }
      child.setElementParent(state.getRenderActions());
    }
    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.RenderActions

      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.RenderActions

          viewStateClone.getExitActions().addExitAction(a);
        }
      }

      if (viewState.getRenderActions() == null && this.renderActions.size() > 0) {
        RenderActions exit = new RenderActions();
        exit.createNew(viewStateClone);
        for (IActionElement a : this.renderActions) {
          exit.addRenderAction(a);
        }
        viewStateClone.setRenderActions(exit);
      }
      else if (this.renderActions.size() == 0) {
        viewStateClone.setRenderActions(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.