Пример #1
0
 /** Updates the list of archives known by the main form by requerying the archive database. */
 protected void _updateArchivesList() {
   try {
     this._archives = ArchiveDb.getInstance().getArchives();
     this._updateFileMenu();
   } catch (Exception e) {
     this._showErrorMessage("Cannot query list of archives:\n" + e.getMessage());
     return;
   }
 }
Пример #2
0
  /** Reacts to the closing of the window (by disposing it) */
  protected void _onClose() {
    this._gaimImportForm.dispose();
    this._yahooImportForm.dispose();
    this._digsbyImportForm.dispose();
    this._msnImportForm.dispose();

    this._progressDialog.dispose();
    this._newArchiveDialog.dispose();
    this._importFinishedDialog.dispose();

    ArchiveDb.getInstance().close();
    this.dispose();
  }