Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Composite


  }

  public void createControl(Composite parent) {
    initialize();

    Composite container = new Composite(parent, SWT.NULL);
    GridLayout layout = new GridLayout();
    layout.numColumns = 2;
    layout.verticalSpacing = 9;
    container.setLayout(layout);

    new Label(container, SWT.NULL).setText("Design name:");
    _designName = new Text(container, SWT.BORDER);
    GridData g = new GridData(GridData.FILL_HORIZONTAL);
    g.horizontalSpan = 1;
View Full Code Here


    public List<IStatus> validate() {
        return null;
    }

    public void createControl(Composite parent) {
        _container = new Composite(parent, SWT.NULL);
        GridLayout layout = new GridLayout();
        layout.numColumns = 1;
        _container.setLayout(layout);

        _multiTaskStatusControl = new MultiTaskStatusControl(_container, SWT.NONE);
View Full Code Here

    public List<IStatus> validate() {
        return null;
    }

    public void createControl(Composite parent) {
        _container = new Composite(parent, SWT.NULL);
        GridLayout layout = new GridLayout();
        layout.numColumns = 2;
        _container.setLayout(layout);

        Label label = new Label(_container, SWT.NONE);
View Full Code Here

       
        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

       
        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

    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

       
  }

 
  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

    }

    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

    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

  @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

TOP

Related Classes of org.eclipse.swt.widgets.Composite

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.