Package org.eclipse.swt.widgets

Examples of org.eclipse.swt.widgets.Composite.computeSize()


    addCheckBox(composite,
        PHPUIMessages.PHPManualConfigurationBlock_openInNewBrowser,
        PreferenceConstants.PHP_MANUAL_OPEN_IN_NEW_BROWSER, 0);
    addFiller(composite);

    Point size = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    scrolledCompositeImpl.setMinSize(size.x, size.y);

    return scrolledCompositeImpl;
  }
View Full Code Here


    Control buttonsControl = fMapList.getButtonBox(composite);
    buttonsControl.setLayoutData(new GridData(
        GridData.HORIZONTAL_ALIGN_FILL
            | GridData.VERTICAL_ALIGN_BEGINNING));

    Point size = composite.computeSize(SWT.DEFAULT, SWT.DEFAULT);
    scrolledCompositeImpl.setMinSize(size.x, size.y);

    updateButtonsEnablement();
  }
View Full Code Here

  initializeDialogUnits(parent);

  Composite composite = new Composite(parent, SWT.NULL);
  composite.setLayout(new GridLayout());
  composite.setLayoutData(new GridData(GridData.VERTICAL_ALIGN_FILL | GridData.HORIZONTAL_ALIGN_FILL));
  composite.setSize(composite.computeSize(SWT.DEFAULT, SWT.DEFAULT));
  composite.setFont(parent.getFont());

  createSourceGroup(composite);

  // createDestinationGroup(composite);
View Full Code Here

            }
          }
        });
      }

      templateClient.setSize(templateClient.computeSize(SWT.DEFAULT, SWT.DEFAULT));
      templateClient.layout();
      return sectionPart;
    }
    return null;
  }
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.