Example #1
0
 public boolean selectSDK(File home) throws IOException {
   String path = home.getPath();
   int count = sdks.rowCount();
   for (int row = 0; row < count; ++row) {
     SWTBotTableItem item = sdks.getTableItem(row);
     if (path.equals(item.getText(2))) {
       item.check();
       return true;
     }
   }
   return false;
 }