Package org.eclipse.jface.layout

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


        final GridData spinnerLayoutData = factory.create();
        spinnerLayoutData.horizontalSpan = 1;
        spinnerLayoutData.grabExcessHorizontalSpace = false;
        spinnerLayoutData.verticalAlignment = SWT.CENTER;

        final GridData scaleLayoutData = factory.span(gridColumns - 1, 1).grab(true,
            false).create();

        if (minBounded && maxBounded)
        {
            createScale(parent);
View Full Code Here


 
  protected GridData layoutLastControl(Control lastControl, int numColumns, boolean expandLast) {
    GridDataFactory gdf = expandLast ?
        GridDataFactory.fillDefaults() :
        GridDataFactory.swtDefaults();
    GridData gridData = gdf.span(numColumns, 1).create();
    lastControl.setLayoutData(gridData);
    return gridData;
  }
 
}
View Full Code Here

          getModel().setVersion(version);
        }
      });

      // Rest is on a line of their own so they need to span 3 columns
      textGDFactory = textGDFactory.span(3, 1);
      textGDFactory.applyTo(versionText);

      toolkit.createLabel(client, UIPlugin.getLocalString("_UI_Author_label")); //$NON-NLS-1$

      authorText = toolkit.createText(client, 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.