Package cx.fbn.nevernote.xml

Examples of cx.fbn.nevernote.xml.ImportEnex


          waitCursor(false);
          return;
        }
      } else {
          if (fileName.endsWith(".enex")) {
              ImportEnex noteReader = new ImportEnex(conn, false);
            if (selectedNotebookGUIDs != null && selectedNotebookGUIDs.size() > 0)
              noteReader.setNotebookGuid(selectedNotebookGUIDs.get(0));
            else
              noteReader.setNotebookGuid(listManager.getNotebookIndex().get(0).getGuid());
 
            waitCursor(false);
            if (QMessageBox.question(this, tr("Confirmation"),
                tr("Create new tags from import?"),
                QMessageBox.StandardButton.Yes,
                QMessageBox.StandardButton.No) == StandardButton.Yes.value()) {
                      noteReader.createNewTags = true;
            } else
              noteReader.createNewTags = false;
            waitCursor(true);
            noteReader.importData(fileName);
     
            if (noteReader.lastError != 0) {
              setMessage(noteReader.getErrorMessage());
              logger.log(logger.LOW, "Import problem: " +noteReader.lastError);
              waitCursor(false);
              return;
            }
          }
View Full Code Here

TOP

Related Classes of cx.fbn.nevernote.xml.ImportEnex

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.