Examples of FolderInfo


Examples of net.suberic.pooka.FolderInfo

  /**
   * Called when the save draft succeeds.
   */
  public void saveDraftSucceeded(FolderInfo outboxFolder) {
    final FolderInfo outbox = outboxFolder;
    final NewMessageUI nmui = getNewMessageUI();
    if (nmui != null) {
      Runnable runMe = new Runnable() {
          public void run() {
            nmui.setBusy(false);
            nmui.setModified(false);
            getMessageUI().showMessageDialog("Message saved to " +outbox.getFolderID(), "Draft Saved");
            getMessageUI().closeMessageUI();
          }
        };
      SwingUtilities.invokeLater(runMe);
    }
View Full Code Here

Examples of net.suberic.pooka.FolderInfo

    // get the MessageInfo for each of the added messages and add it to
    // the newMessageList.  oh, and while we're at it, add the string info
    // for the first three, also.
    StringBuffer infoLines = new StringBuffer();
    try {
      FolderInfo folder = Pooka.getStoreManager().getFolderById(pFolderId);
      if (folder != null) {
        for (int i = 0; i < e.getMessages().length; i++) {
          MessageInfo current = folder.getMessageInfo(e.getMessages()[i]);
          newMessageList.add(current);
          if (i < 3)
            infoLines.append("From: " + current.getMessageProperty("From") + ", Subj: " + current.getMessageProperty("Subject") + "\r\n\r\n");
          else if (i == 3)
            infoLines.append("...");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.