/** DOC sgandon Comment method "updateInstallModulesButtonState". */
 protected void updateInstallModulesButtonState() {
   List<ModuleToInstall> theInputList = tableViewerCreator.getInputList();
   boolean isEnable = false;
   if (!theInputList.isEmpty()) {
     for (ModuleToInstall module : theInputList) {
       if (!MavenConstants.DOWNLOAD_MANUAL.equals(module.getDistribution())) {
         isEnable = true;
         break;
       }
     }
   }
   installAllBtn.setEnabled(isEnable);
 }
 /** DOC sgandon Comment method "updateInstallModulesButtonState". */
 protected void updateInstallModulesButtonState() {
   List<ModuleToInstall> theInputList = tableViewerCreator.getInputList();
   boolean isEnable = false;
   if (!theInputList.isEmpty()) {
     for (ModuleToInstall module : theInputList) {
       if (module.getUrl_download() != null) {
         isEnable = true;
         break;
       }
     }
   }
   installAllBtn.setEnabled(isEnable);
 }
  /**
   * DOC sgandon Comment method "getModulesToBeInstalled".
   *
   * @return
   */
  protected List<ModuleToInstall> getModulesToBeInstalled() {
    List<ModuleToInstall> theInputList = tableViewerCreator.getInputList();

    List<ModuleToInstall> toInstall = new ArrayList<ModuleToInstall>();
    for (ModuleToInstall module : theInputList) {
      if (!MavenConstants.DOWNLOAD_MANUAL.equals(module.getDistribution())
          && !jarsInstalledSuccuss.contains(module.getName())
          && ELibraryInstallStatus.INSTALLED
              != ModuleStatusProvider.getStatusMap().get(module.getMavenUri())) {
        toInstall.add(module);
      }
    }
    return toInstall;
  }
  /**
   * DOC sgandon Comment method "getModulesToBeInstalled".
   *
   * @return
   */
  protected List<ModuleToInstall> getModulesToBeInstalled() {
    List<ModuleToInstall> theInputList = tableViewerCreator.getInputList();

    List<ModuleToInstall> toInstall = new ArrayList<ModuleToInstall>();
    if (!jarsInstalledSuccuss.isEmpty()) {
      for (ModuleToInstall module : theInputList) {
        if (!jarsInstalledSuccuss.contains(module.getName())) {
          toInstall.add(module);
        }
      }
    } else {
      toInstall.addAll(theInputList);
    }
    return toInstall;
  }