Пример #1
0
 public void createContents() {
   if (!contentCreated) {
     Control sashForm = createSashForm();
     item.setControl(sashForm);
     initColors();
     createExampleControls(exmplComp);
     createStyleControls(styleComp);
     exmplComp.layout();
     styleComp.layout();
     contentCreated = true;
   }
 }
Пример #2
0
 public ExampleTab(final CTabFolder parent, final String title) {
   folder = parent;
   controls = new ArrayList();
   item = new CTabItem(folder, SWT.NONE);
   item.setText(title + " ");
 }