Exemple #1
0
 // Update process completed - do cleanup
 private void complete() {
   if (_componentsPanel != null) {
     File checkSum = FileUtil.getLocalCheckSumFile();
     _componentsPanel.refresh(new Differ(checkSum, checkSum), true);
   }
   updateServiceRegistration();
   new UserPreferences().setPostUpdatesCompleted(false);
   if (_updatingThis) {
     restartApp();
   } else setState(State.Finalise);
 }
Exemple #2
0
 public Updater(ComponentsPanel componentsPanel) {
   this((UpdateTableModel) componentsPanel.getTable().getModel());
   _componentsPanel = componentsPanel;
   _progressPanel = componentsPanel.getProgressPanel();
 }