Examples of createNew()


Examples of org.springframework.ide.eclipse.webflow.core.internal.model.InputAttribute.createNew()

    attributeAddButton.setLayoutData(data1);
    attributeAddButton.addSelectionListener(new SelectionAdapter() {

      public void widgetSelected(SelectionEvent e) {
        InputAttribute attr = new InputAttribute();
        attr.createNew(state);
        if (DialogUtils.openPropertiesDialog(state, attr, true) == Dialog.OK) {
          inputAttributes.add(attr);
          attributeViewer.refresh();
        }
      }
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.InputMapper.createNew()

      }
      else {
        inputAttributes = new ArrayList<IInputAttribute>();
        inputMapping = new ArrayList<IMapping>();
        InputMapper entry = new InputMapper();
        entry.createNew(stateClone);
        stateClone.setInputMapper(entry);
      }
    }
    else {
      inputAttributes = new ArrayList<IInputAttribute>();
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.Mapping.createNew()

      mappingAddButton.setLayoutData(data1);
      mappingAddButton.addSelectionListener(new SelectionAdapter() {

        public void widgetSelected(SelectionEvent e) {
          Mapping attr = new Mapping();
          attr.createNew(state);
          if (DialogUtils.openPropertiesDialog(state, attr, true) == Dialog.OK) {
            mappings.add(attr);
            mappingViewer.refresh(true);
          }
        }
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.MethodArguments.createNew()

          .getArguments());
    }
    else {
      methodArguments = new ArrayList<IArgument>();
      MethodArguments entry = new MethodArguments();
      entry.createNew(actionClone);
      actionClone.setMethodArguments(entry);
    }
  }

  /**
 
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.MethodResult.createNew()

        this.actionClone.getMethodResult().setScope(
            this.scopeText.getText());
      }
      else if (this.action.getMethodResult() == null) {
        MethodResult result = new MethodResult();
        result.createNew(actionClone);
        this.actionClone.setMethodResult(result);
        this.actionClone.getMethodResult().setName(
            this.resultNameText.getText());
        this.actionClone.getMethodResult().setScope(
            this.scopeText.getText());
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.OutputAttribute.createNew()

    attributeAddButton.setLayoutData(data1);
    attributeAddButton.addSelectionListener(new SelectionAdapter() {

      public void widgetSelected(SelectionEvent e) {
        OutputAttribute attr = new OutputAttribute();
        attr.createNew(state);
        if (DialogUtils.openPropertiesDialog(state, attr, true) == Dialog.OK) {
          outputAttributes.add(attr);
          attributeViewer.refresh();
        }
      }
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.OutputMapper.createNew()

      }
      else {
        outputAttributes = new ArrayList<IOutputAttribute>();
        outputMapping = new ArrayList<IMapping>();
        OutputMapper entry = new OutputMapper();
        entry.createNew(stateClone);
        stateClone.setOutputMapper(entry);
      }
    }
    else {
      outputAttributes = new ArrayList<IOutputAttribute>();
View Full Code Here

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

    }
    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.Set.createNew()

    data1.widthHint = 120;
    addSetButton.setLayoutData(data1);
    addSetButton.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        Set action = new Set();
        action.createNew(parentElement);
        action.setType(type);
        if (DialogUtils.openPropertiesDialog(parentElement, action, true) == Dialog.OK) {
          actions.add(action);
          configsViewer.refresh();
        }
View Full Code Here

Examples of org.springframework.ide.eclipse.webflow.core.internal.model.StateTransition.createNew()

    addButton.setLayoutData(data1);
    addButton.addSelectionListener(new SelectionAdapter() {

      public void widgetSelected(SelectionEvent e) {
        IStateTransition trans = new StateTransition();
        trans.createNew(parentElement,
            webflowState);
        StateTransitionPropertiesDialog dialog = new StateTransitionPropertiesDialog(
            parentShell, parentElement, trans, true);
        if (dialog.open() == Dialog.OK) {
          transitions.add(trans);
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.