Examples of createNew()


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

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

      public void widgetSelected(SelectionEvent e) {
        IAttribute property = new Attribute();
        property.createNew(state);
        PropertyEditorDialog dialog = new PropertyEditorDialog(
            parentShell, property);
        if (dialog.open() == Dialog.OK) {
          state.addAttribute(property);
          configsViewer.refresh(true);
View Full Code Here

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

      }
    }
    else {

      AttributeMapper mapper = new AttributeMapper();
      mapper.createNew(stateClone);

      OutputMapper o = new OutputMapper();
      o.createNew(mapper);
      mapper.setOutputMapper(o);
View Full Code Here

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

      data1.widthHint = 120;
      addBeanActionButton.setLayoutData(data1);
      addBeanActionButton.addSelectionListener(new SelectionAdapter() {
        public void widgetSelected(SelectionEvent e) {
          BeanAction action = new BeanAction();
          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.EntryActions.createNew()

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

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

    data1.widthHint = 120;
    addEvaluationButton.setLayoutData(data1);
    addEvaluationButton.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        EvaluateAction action = new EvaluateAction();
        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.EvaluationResult.createNew()

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

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

    GridData data1 = new GridData(GridData.HORIZONTAL_ALIGN_FILL);
    addButton.setLayoutData(data1);
    addButton.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        ExceptionHandler action = new ExceptionHandler();
        action.createNew(parentElement);
        if (DialogUtils.openPropertiesDialog(parentElement, action,
            true) == Dialog.OK) {
          exceptionHandler.add(action);
          configsViewer.refresh();
        }
View Full Code Here

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

      exitActions.addAll(this.actionStateClone.getExitActions().getExitActions());
    }
    else {
      exitActions = new ArrayList<IActionElement>();
      ExitActions exit = new ExitActions();
      exit.createNew(actionStateClone);
      actionStateClone.setExitActions(exit);
    }
    actions = new ArrayList<IActionElement>();
    if (this.actionStateClone.getActions() != null) {
      actions.addAll(this.actionStateClone.getActions());
View Full Code Here

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

      globalTransitions.addAll(this.stateClone.getGlobalTransitions().getGlobalTransitions());
    }
    else {
      globalTransitions = new ArrayList<IStateTransition>();
      GlobalTransitions entry = new GlobalTransitions();
      entry.createNew(stateClone);
      stateClone.setGlobalTransitions(entry);
    }

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

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

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

      public void widgetSelected(SelectionEvent e) {
        IImport property = new Import();
        property.createNew(state);
        ImportEditorDialog dialog = new ImportEditorDialog(parentShell,
            property);
        if (dialog.open() == Dialog.OK) {
          state.addImport(property);
          configsViewer.refresh(true);
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.