public void buildOptimizedLayoutTab(String thefilename) {
   OptimizedLayoutMain olm = new OptimizedLayoutMain(thefilename);
   CTabItem tabOL = new CTabItem(folder, SWT.NONE);
   tabOL.setText("Optimized Layout");
   Text t = olm.createContents(folder);
   tabOL.setControl(t);
 }
 public void buildOptimizedLayoutTab(String thefilename, String resType, CTabFolder subfolder) {
   System.out.println("buildOptimizedLayoutTab");
   OptimizedLayoutMain olm = new OptimizedLayoutMain(thefilename);
   CTabItem tabOL = new CTabItem(subfolder, SWT.NONE);
   tabOL.setText("Optimized Layout");
   Text t = olm.createContents(subfolder);
   tabOL.setControl(t);
   subfolder.setSelection(subfolder.getItemCount() - 1);
 }