private void selectProjects() {
    selectCopyProjectsIntoWorkspace();
    getBot().button("Deselect All").click();
    SWTBotTree projectsTree = getProjectsTree();

    for (String projectName : projectNames) {
      SWTBotTreeItem projectItem = getProjectTreeItem(projectsTree, projectName);
      projectItem.check();
    }
  }
  /**
   * Checks IU (Category, or Feature) in a tree
   *
   * @param iu to be checked
   * @return true if checked
   * @author Pavol Srna
   */
  private boolean checkIU(String iu) {

    boolean checked = false;
    for (SWTBotTreeItem node : bot.tree().getAllItems()) {
      // traverse through all categories
      if (node.getText().equals(iu)) {
        node.check();
        checked = true;
        break;
      } else {
        // expand category
        node.expand();
        for (SWTBotTreeItem i : node.getItems()) {
          // traverse through category features
          if (i.getText().equals(iu)) {
            i.check();
            checked = true;
            break;
          }
        }
      }
    }
    return checked;
  }
 private void selectFolder(String... treePath) {
   SWTBotTree tree = fBot.tree();
   fBot.waitUntil(Conditions.widgetIsEnabled(tree));
   SWTBotTreeItem folderNode = SWTBotUtils.getTreeItem(fBot, tree, treePath);
   folderNode.check();
 }