Package org.springframework.ide.eclipse.webflow.ui.graph.model

Examples of org.springframework.ide.eclipse.webflow.ui.graph.model.WebflowModelLabelProvider


    });
    configsViewer = new TableViewer(configsTable);
    configsViewer.setContentProvider(new ExceptionHandlerContentProvider(
        this.exceptionHandler));
    configsViewer.setLabelProvider(new DecoratingLabelProvider(
        new WebflowModelLabelProvider(), new WebflowModelLabelDecorator()));
    configsViewer.setInput(this);

    Composite buttonArea = new Composite(tableAndButtons, SWT.NONE);
    GridLayout layout = new GridLayout();
    layout.marginHeight = 0;
View Full Code Here


   *
   */
  protected void handleSelectionChanged() {
    ElementListSelectionDialog dialog = new ElementListSelectionDialog(
        getPart().getSite().getShell(), new DecoratingLabelProvider(
            new WebflowModelLabelProvider(),
            new WebflowModelLabelDecorator()));
    dialog.setBlockOnOpen(true);
    dialog.setElements(WebflowModelXmlUtils.getStates(
        (IWebflowModelElement) this.stateTransition.getElementParent(), false).toArray());
    dialog.setEmptySelectionMessage("Enter a valid state id");
View Full Code Here

        handleTableSelectionChanged();
      }
    });
    configsViewer = new TableViewer(configsTable);
    configsViewer.setContentProvider(new ActionContentProvider(this.actions));
    configsViewer.setLabelProvider(new DecoratingLabelProvider(new WebflowModelLabelProvider(),
        new WebflowModelLabelDecorator()));
    configsViewer.setInput(this);

    Composite buttonArea = new Composite(tableAndButtons, SWT.NONE);
    GridLayout layout = new GridLayout();
View Full Code Here

    configsViewer = new TableViewer(configsTable);
    configsViewer.setContentProvider(new IfContentProvider(
        this.decisionStateClone));
    configsViewer.setLabelProvider(new DecoratingLabelProvider(
        new WebflowModelLabelProvider(),
        new WebflowModelLabelDecorator()));
    configsViewer.setInput(this);

    Composite buttonArea = new Composite(tableAndButtons, SWT.NONE);
    layout = new GridLayout();
View Full Code Here

  private void handleButtonPressed(Button button) {

    if (button.equals(browseThenButton)) {
      ElementListSelectionDialog dialog = new ElementListSelectionDialog(
          getShell(), new DecoratingLabelProvider(
              new WebflowModelLabelProvider(),
              new WebflowModelLabelDecorator()));
      dialog.setBlockOnOpen(true);
      dialog.setElements(WebflowModelXmlUtils.getStates(parent, false)
          .toArray());
      dialog.setEmptySelectionMessage("Enter a valid state id");
      dialog.setTitle("State reference");
      dialog.setMessage("Please select a state reference");
      dialog.setMultipleSelection(false);
      if (Dialog.OK == dialog.open()) {
        this.thenText.setText(((IState) dialog.getFirstResult())
            .getId());
      }

    }
    else {
      ElementListSelectionDialog dialog = new ElementListSelectionDialog(
          getShell(), new DecoratingLabelProvider(
              new WebflowModelLabelProvider(),
              new WebflowModelLabelDecorator()));
      dialog.setBlockOnOpen(true);
      dialog.setElements(WebflowModelXmlUtils.getStates(parent, false)
          .toArray());
      dialog.setEmptySelectionMessage("Enter a valid state id");
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.webflow.ui.graph.model.WebflowModelLabelProvider

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.