Package net.geco.model

Examples of net.geco.model.Archive


    archiveDateL.setText(archiveManager().archiveLastModified());
    showRowCount();
  }

  private void refreshTableData() {
    Archive archive = null;
    try {
      archive = archiveManager().archive();
    } catch (IOException e) {
      JOptionPane.showMessageDialog(
          this,
          e.toString(),
          Messages.uiGet("ArchiveViewer.LoadArchiveError"), //$NON-NLS-1$
          JOptionPane.ERROR_MESSAGE);
      try {
        archive = archiveManager().archive();
      } catch (IOException e1) {
        geco.debug(e1.toString());
      }
    }
    tableModel.setData(archive.runners().toArray(new ArchiveRunner[0]));
  }
View Full Code Here


  }
 
  public Archive archive() throws IOException {
    if( archive==null ) {
      if( archiveFile==null ) {
        archive = new Archive();
      } else {
        try {
          loadArchiveFrom(archiveFile);
        } catch (IOException e) {
          archive = new Archive();
          throw e;
        }
      }
    }
    return this.archive;
View Full Code Here

    return this.archive;
  }
 
  public void loadArchiveFrom(File archiveFile) throws IOException {
    this.archiveFile = archiveFile;
    archive = new Archive();
    super.loadArchiveFrom(archiveFile);
  }
View Full Code Here

TOP

Related Classes of net.geco.model.Archive

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.