Package cx.fbn.nevernote.dialog

Examples of cx.fbn.nevernote.dialog.DatabaseStatus


  private void databaseStatus() {
    waitCursor(true);
    indexRunner.interrupt = true;
    int dirty = conn.getNoteTable().getDirtyCount();
    int unindexed = conn.getNoteTable().getUnindexedCount();
    DatabaseStatus status = new DatabaseStatus();
    status.setUnsynchronized(dirty);
    status.setUnindexed(unindexed);
    status.setNoteCount(conn.getNoteTable().getNoteCount());
    status.setNotebookCount(listManager.getNotebookIndex().size());
    status.setUnindexedResourceCount(conn.getNoteTable().noteResourceTable.getUnindexedCount());
    status.setSavedSearchCount(listManager.getSavedSearchIndex().size());
    status.setTagCount(listManager.getTagIndex().size());
    status.setResourceCount(conn.getNoteTable().noteResourceTable.getResourceCount());
    status.setWordCount(conn.getWordsTable().getWordCount());
    waitCursor(false);
    status.exec();
  }
View Full Code Here

TOP

Related Classes of cx.fbn.nevernote.dialog.DatabaseStatus

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.