コード例 #1
0
 public void buildSummaryTab(String thefilename) {
   System.out.println("Build Summary Tab: " + thefilename);
   CTabItem tabSumm = new CTabItem(folder, SWT.NONE);
   tabSumm.setText("Data Summary");
   DataSummaryTable dst = new DataSummaryTable(thefilename);
   Composite prof = dst.createContents(folder);
   tabSumm.setControl(prof);
 }
コード例 #2
0
 public void buildSummaryTab(String thefilename, String resType, CTabFolder subfolder) {
   System.out.println("buildSummaryTab");
   CTabItem tabSumm = new CTabItem(subfolder, SWT.NONE);
   tabSumm.setText("Data Summary");
   DataSummaryTable dst = new DataSummaryTable(thefilename);
   Composite prof = dst.createContents(subfolder);
   tabSumm.setControl(prof);
   subfolder.setSelection(subfolder.getItemCount() - 1);
 }