Beispiel #1
0
 protected void layout(Composite composite, boolean flushCache) {
   CTabFolder folder = (CTabFolder) composite;
   // resize content
   if (folder.selectedIndex != -1) {
     Control control = folder.items[folder.selectedIndex].getControl();
     if (control != null && !control.isDisposed()) {
       control.setBounds(folder.getClientArea());
     }
   }
 }
 protected Shell getShell() {
   return folder.getShell();
 }