Examples of Composite


Examples of org.eclipse.swt.widgets.Composite

       
        return errors;
    }

    public void createControl(Composite parent) {
        Composite container = new Composite(parent, SWT.NULL);
        GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        container.setLayout(layout);
       
        Label label = new Label(container, SWT.NONE);
        label.setText("Available database servers on remote location:");
       
        GridData gd = new GridData(GridData.FILL_HORIZONTAL);
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

       
        return errors;
    }

    public void createControl(Composite parent) {
        _container = new Composite(parent, SWT.NULL);
        GridLayout layout = new GridLayout();
        layout.numColumns = 1;
        _container.setLayout(layout);
       
        _lblHeader = new Label(_container, SWT.NONE);
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

    setStatusLineAboveButtons(true);
    setHelpAvailable(false);
  }

  protected Control createDialogArea(Composite parent) {
    Composite composite = new Composite(parent, SWT.None);
    composite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
    GridLayout layout = new GridLayout(3, false);
    composite.setLayout(layout);

    GridData txtStyle = new GridData(GridData.FILL_HORIZONTAL);
    txtStyle.minimumWidth = convertWidthInCharsToPixels(60);

    Label lblTemplateName = new Label(composite, SWT.None);
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

       
  }

 
  protected Control createDialogArea(Composite parent) {
    Composite composite = new Composite(parent, SWT.None);
    GridData data = new GridData(GridData.FILL, GridData.FILL, true, true);
    composite.setLayoutData(data);
    GridLayout layout = new GridLayout(1, false);
    composite.setLayout(layout);   
   
    Label label = new Label(composite,SWT.NONE);
    label.setLayoutData(data);
    label.setText("Choose ContentStore");
    _combo = new Combo(composite,SWT.BORDER | SWT.READ_ONLY);
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

    }

    protected Control createDialogArea(Composite parent) {
        initializeDialogUnits(parent);

        Composite composite = (Composite) super.createDialogArea(parent);

        Composite viewerComposite = new Composite(composite, SWT.NONE);
        GridLayout layout = new GridLayout(1, false);
        layout.horizontalSpacing = convertHorizontalDLUsToPixels(IDialogConstants.HORIZONTAL_SPACING);
        layout.verticalSpacing = convertVerticalDLUsToPixels(IDialogConstants.VERTICAL_SPACING);
        viewerComposite.setLayout(layout);

        GridData data = new GridData(GridData.FILL_BOTH);
        data.heightHint = 200;
        data.widthHint = 350;

        viewerComposite.setLayoutData(data);

        viewer = CheckboxTableViewer.newCheckList(viewerComposite, SWT.BORDER);
        viewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));

        class WorkingSetLabelProvider extends LabelProvider {
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

    setStatusLineAboveButtons(true);
    setHelpAvailable(false);
  }

  protected Control createDialogArea(Composite parent) {
    Composite composite = new Composite(parent, SWT.None);
    composite.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, true));
    GridLayout layout = new GridLayout(2, false);
    composite.setLayout(layout);

    GridData txtStyle = new GridData(GridData.FILL_HORIZONTAL);
    txtStyle.minimumWidth = convertWidthInCharsToPixels(60);

    Label lblTemplateName = new Label(composite, SWT.None);
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

  @Override
  protected Control createContents(Composite parent) {
   
   
   
    Composite composite = new Composite(parent, SWT.FILL);
    composite.setLayout(new GridLayout(2, false));

    if (hasMDHeader()) {
      Label label = new Label(composite, SWT.None);
      label.setText("Note:");
      label = new Label(composite, SWT.None);
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

  super(wizard, previous);
  }

  public void show() {
  wizard.setTitle(MessageText.getString("exportTorrentWizard.finish.title"));
  Composite rootPanel = wizard.getPanel();
  GridLayout layout = new GridLayout();
  layout.numColumns = 1;
  rootPanel.setLayout(layout);

  Composite panel = new Composite(rootPanel, SWT.NULL);
  GridData gridData = new GridData(GridData.VERTICAL_ALIGN_CENTER | GridData.FILL_HORIZONTAL);
  panel.setLayoutData(gridData);
  layout = new GridLayout();
  layout.numColumns = 3;
  panel.setLayout(layout);

  Label label = new Label(panel, SWT.WRAP);
  gridData = new GridData();
  gridData.horizontalSpan = 3;
  gridData.widthHint = 380;
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

  }
 
  protected void
  build()
  {
    Composite parent = (Composite)instance.getProperty( UpdateCheckInstance.PT_UI_PARENT_SWT_COMPOSITE );
   
    if ( parent != null ){
     
      if (parent.isDisposed()) {
        throw( new RuntimeException( "cancelled" ));
      }
     
      build( parent );
     
View Full Code Here

Examples of org.eclipse.swt.widgets.Composite

 
  public void
  show()
  {
    wizard.setTitle(MessageText.getString("exportTorrentWizard.exportfile.title"));
    Composite rootPanel = wizard.getPanel();
    GridLayout layout = new GridLayout();
    layout.numColumns = 1;
    rootPanel.setLayout(layout);
 
    Composite panel = new Composite(rootPanel, SWT.NULL);
    GridData gridData = new GridData(GridData.VERTICAL_ALIGN_CENTER | GridData.FILL_HORIZONTAL);
    panel.setLayoutData(gridData);
    layout = new GridLayout();
    layout.numColumns = 3;
    panel.setLayout(layout);

    Label label = new Label(panel, SWT.WRAP);
    gridData = new GridData();
    gridData.horizontalSpan = 3;
    gridData.widthHint = 380;
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.