Package org.eclipse.jface.layout

Examples of org.eclipse.jface.layout.GridDataFactory.applyTo()


        GridDataFactory singleRowGridDataFactory = GridDataFactory.swtDefaults().align(SWT.LEFT, SWT.CENTER)
                .span(layout.numColumns, 1);

    useExistingServer = new Button(container, SWT.RADIO);
      useExistingServer.setText("Add to existing server");
        singleRowGridDataFactory.applyTo(useExistingServer);

      Label existingServerLabel = new Label(container, SWT.NONE);
      GridData locationLabelData = new GridData();
        locationLabelData.horizontalIndent = HORIZONTAL_INDENT;
      existingServerLabel.setLayoutData(locationLabelData);
View Full Code Here


            startExistingServerButton.setSelection(true);
        }

        skipServerConfiguration = new Button(container, SWT.RADIO);
        skipServerConfiguration.setText("Don't deploy on a server");
        singleRowGridDataFactory.applyTo(skipServerConfiguration);

        setupNewServer = new Button(container, SWT.RADIO);
        setupNewServer.setText("Setup new server");
        singleRowGridDataFactory.applyTo(setupNewServer);
     
View Full Code Here

        skipServerConfiguration.setText("Don't deploy on a server");
        singleRowGridDataFactory.applyTo(skipServerConfiguration);

        setupNewServer = new Button(container, SWT.RADIO);
        setupNewServer.setText("Setup new server");
        singleRowGridDataFactory.applyTo(setupNewServer);
     
        newLabel(container, "Server name:");
        newServerName = newText(container);
     
        newLabel(container, "Host name:");
View Full Code Here

        .grab(true, true)
        .align(SWT.FILL, SWT.CENTER);

    Label layoutLabel = new Label(this, SWT.NONE);
    layoutLabel.setText("Layout graph: ");
    gridDataBldr.applyTo(layoutLabel);

    layoutPicker = new LayoutPickerControl(this);
    gridDataBldr.applyTo(layoutPicker);

    Label relSetLabel = new Label(this, SWT.NONE);
View Full Code Here

    Label layoutLabel = new Label(this, SWT.NONE);
    layoutLabel.setText("Layout graph: ");
    gridDataBldr.applyTo(layoutLabel);

    layoutPicker = new LayoutPickerControl(this);
    gridDataBldr.applyTo(layoutPicker);

    Label relSetLabel = new Label(this, SWT.NONE);
    relSetLabel.setText("Layout relations: ");
    gridDataBldr.applyTo(relSetLabel);
View Full Code Here

    layoutPicker = new LayoutPickerControl(this);
    gridDataBldr.applyTo(layoutPicker);

    Label relSetLabel = new Label(this, SWT.NONE);
    relSetLabel.setText("Layout relations: ");
    gridDataBldr.applyTo(relSetLabel);

    relSetPicker = new RelationshipSetPickerControl(this);
    gridDataBldr.applyTo(relSetPicker);
  }
View Full Code Here

    Label relSetLabel = new Label(this, SWT.NONE);
    relSetLabel.setText("Layout relations: ");
    gridDataBldr.applyTo(relSetLabel);

    relSetPicker = new RelationshipSetPickerControl(this);
    gridDataBldr.applyTo(relSetPicker);
  }

  public void setLayoutChoices(List<String> layoutNames) {
    layoutPicker.setLayoutChoices(layoutNames);
  }
View Full Code Here

      public void widgetSelected(SelectionEvent e) {
        rebaseAbort();
      }
    });
    rebaseAbortButton.setImage(getImage(UIIcons.REBASE_ABORT));
    buttonGridData.applyTo(rebaseAbortButton);

    this.rebaseSkipButton = toolkit.createButton(rebaseComposite,
        UIText.StagingView_RebaseSkip, SWT.PUSH);
    rebaseSkipButton.addSelectionListener(new SelectionAdapter() {
      @Override
View Full Code Here

      public void widgetSelected(SelectionEvent e) {
        rebaseSkip();
      }
    });
    rebaseSkipButton.setImage(getImage(UIIcons.REBASE_SKIP));
    buttonGridData.applyTo(rebaseSkipButton);

    this.rebaseContinueButton = toolkit.createButton(rebaseComposite,
        UIText.StagingView_RebaseContinue, SWT.PUSH);
    rebaseContinueButton.addSelectionListener(new SelectionAdapter() {
      @Override
View Full Code Here

      public void widgetSelected(SelectionEvent e) {
        rebaseContinue();
      }
    });
    rebaseContinueButton.setImage(getImage(UIIcons.REBASE_CONTINUE));
    buttonGridData.applyTo(rebaseContinueButton);

    showControl(rebaseSection, false);

    commitMessageSection = toolkit.createSection(rebaseAndCommitComposite,
        ExpandableComposite.TITLE_BAR);
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.