public void buildProfileTab(String filename, String resType, CTabFolder subfolder) {
   System.out.println("buildProfileTab");
   CTabItem tabDP = new CTabItem(subfolder, SWT.NONE);
   tabDP.setText("Data Profile");
   DataProfileTable dpt = new DataProfileTable(filename);
   dpt.setFileName(filename);
   Composite prof = dpt.createContents(subfolder);
   tabDP.setControl(prof);
   subfolder.setSelection(subfolder.getItemCount() - 1);
 }
  public void buildProfileTab(String filename) {

    CTabItem tabDP = new CTabItem(folder, SWT.NONE);

    tabDP.setText("Data Profile");
    DataProfileTable dpt = new DataProfileTable(filename);
    dpt.setFileName(filename);
    Composite prof = dpt.createContents(folder);
    tabDP.setControl(prof);

    folder.setSelection(folder.getItemCount() - 1);
  }