Package org.springframework.ide.eclipse.webflow.core.model

Examples of org.springframework.ide.eclipse.webflow.core.model.IRenderActions


  }

  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


      ((IActionState) parent).removeAction(child);
    }
   
    if (child.getType() == IActionElement.ACTION_TYPE.RENDER_ACTION
        && parent instanceof IRenderActions) {
      IRenderActions state = (IRenderActions) parent;
      if (state != null
          && state.getRenderActions().size() == 0) {
        ((IViewState) state.getElementParent()).setRenderActions(null);
      }
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.ENTRY_ACTION
        && parent instanceof IEntryActions) {
      IEntryActions state = (IEntryActions) parent;
      if (state != null
          && state.getEntryActions().size() == 0) {
        ((IState) state.getElementParent()).setEntryActions(null);
      }
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.EXIT_ACTION
        && parent instanceof IExitActions) {
      IExitActions state = (IExitActions) parent;
      if (state != null
          && state.getExitActions().size() == 0) {
        ((IState) state.getElementParent()).setExitActions(null);
      }
    }
  }
View Full Code Here

        && parent instanceof IActionState) {
      child.setElementParent(parent);
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.RENDER_ACTION
        && parent instanceof IRenderActions) {
      IRenderActions state = (IRenderActions) parent;
      IViewState viewState = (IViewState) state.getElementParent();
      if (viewState.getRenderActions() == null) {
        viewState.setRenderActions(state);
      }
      child.setElementParent(state);
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.ENTRY_ACTION
        && parent instanceof IEntryActions) {
      IEntryActions state = (IEntryActions) parent;
      IState viewState = (IState) state.getElementParent();
      if (viewState.getEntryActions() == null) {
        viewState.setEntryActions(state);
      }
      child.setElementParent(state);
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.EXIT_ACTION
        && parent instanceof IExitActions) {
      IExitActions state = (IExitActions) parent;
      IState viewState = (IState) state.getElementParent();
      if (viewState.getExitActions() == null) {
        viewState.setExitActions(state);
      }
      child.setElementParent(state);
    }
View Full Code Here

      ((IActionState) child.getElementParent()).removeAction(child);
    }

    if (child.getType() == IActionElement.ACTION_TYPE.RENDER_ACTION
        && child.getElementParent() instanceof IRenderActions) {
      IRenderActions state = (IRenderActions) child.getElementParent();
      if (state != null
          && state.getRenderActions().size() == 0) {
        ((IViewState) state.getElementParent()).setRenderActions(null);
      }
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.ENTRY_ACTION
        && child.getElementParent() instanceof IEntryActions) {
      IEntryActions state = (IEntryActions) child.getElementParent();
      if (state != null
          && state.getEntryActions().size() == 0) {
        ((IState) state.getElementParent()).setEntryActions(null);
      }
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.EXIT_ACTION
        && child.getElementParent() instanceof IExitActions) {
      IExitActions state = (IExitActions) child.getElementParent();
      if (state != null
          && state.getExitActions().size() == 0) {
        ((IState) state.getElementParent()).setExitActions(null);
      }
    }
  }
View Full Code Here

      ((IActionState) parent).removeAction(child);
    }
   
    if (child.getType() == IActionElement.ACTION_TYPE.RENDER_ACTION
        && parent instanceof IRenderActions) {
      IRenderActions state = (IRenderActions) parent;
      if (state != null
          && state.getRenderActions().size() == 0) {
        ((IViewState) state.getElementParent()).setRenderActions(null);
      }
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.ENTRY_ACTION
        && parent instanceof IEntryActions) {
      IEntryActions state = (IEntryActions) parent;
      if (state != null
          && state.getEntryActions().size() == 0) {
        ((IState) state.getElementParent()).setEntryActions(null);
      }
    }
    else if (child.getType() == IActionElement.ACTION_TYPE.EXIT_ACTION
        && parent instanceof IExitActions) {
      IExitActions state = (IExitActions) parent;
      if (state != null
          && state.getExitActions().size() == 0) {
        ((IState) state.getElementParent()).setExitActions(null);
      }
    }
  }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.webflow.core.model.IRenderActions

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.