Package hermes.browser.tasks

Examples of hermes.browser.tasks.AddToMessageStoreTask


            throw new HermesRuntimeException(e);
          }
        } else if (getSelectionPath().getLastPathComponent() instanceof MessageStoreTreeNode) {
          final MessageStoreTreeNode node = (MessageStoreTreeNode) getSelectionPath().getLastPathComponent();

          HermesBrowser.getBrowser().getThreadPool().invokeLater(new AddToMessageStoreTask(node.getMessageStore(), messages.getSelectedMessages()));
        }
      } else {
        HermesBrowser.getBrowser().showErrorDialog("No session/destination selected for copy");
      }
View Full Code Here


                        if (HermesBrowser.getBrowser().getBrowserTree().getLastSelectedHermesTreeNode() != null)
                        {
                           final MessageStoreBrowserAction storeAction = (MessageStoreBrowserAction) browserAction;
                           final MessageFactory messageFactory = HermesBrowser.getBrowser().getBrowserTree().getLastSelectedHermesTreeNode().getHermes();
                           HermesBrowser.getBrowser().getThreadPool()
                                 .invokeLater(new AddToMessageStoreTask(messageFactory, storeAction.getMessageStore(), xml));
                        }
                        else
                        {
                           HermesBrowser.getBrowser().showErrorDialog("A session must be selected to use as a factory for the messages") ;                                                   
                        }
View Full Code Here

TOP

Related Classes of hermes.browser.tasks.AddToMessageStoreTask

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.