protected void refreshInFinish(boolean isModified) {
   if (isModified) {
     if (GlobalServiceRegister.getDefault().isServiceRegistered(IDesignerCoreService.class)) {
       IDesignerCoreService service =
           (IDesignerCoreService)
               GlobalServiceRegister.getDefault().getService(IDesignerCoreService.class);
       if (service != null) {
         service.refreshComponentView(connectionItem);
       }
     }
   }
 }
 /**
  * DOC sgandon Comment method "updateManualImportedJars".
  *
  * @param importedJars
  */
 private void updateManualImportedJars(AtomicInteger enabledButtonCount, String[] importedJars) {
   for (Entry<ModuleToInstall, Button> moduleAndButton : manualInstallButtonMap.entrySet()) {
     String jarName = moduleAndButton.getKey().getName();
     for (String importedJar : importedJars) {
       if (importedJar.equals(jarName)) { // disable the button
         moduleAndButton.getValue().setEnabled(false);
         enabledButtonCount.decrementAndGet();
       } // else leave the button as it is
     }
   }
   if (enabledButtonCount.get() == 0) {
     close();
     // refresh
     if (GlobalServiceRegister.getDefault().isServiceRegistered(IDesignerCoreService.class)) {
       IDesignerCoreService service =
           (IDesignerCoreService)
               GlobalServiceRegister.getDefault().getService(IDesignerCoreService.class);
       if (service != null) {
         service.refreshComponentView();
       }
     }
   }
 }