Esempio n. 1
0
 protected static Group createGroup(
     Composite parent, String text, int columns, int hspan, int fill) {
   Group g = new Group(parent, SWT.NONE);
   g.setLayout(new GridLayout(columns, false));
   g.setText(text);
   g.setFont(parent.getFont());
   GridData gd = new GridData(fill);
   gd.horizontalSpan = hspan;
   g.setLayoutData(gd);
   return g;
 }