Package hermes.browser.actions

Examples of hermes.browser.actions.QueueBrowseAction


 
  public QueueBrowseAction getOpenQueueBrowser(DestinationConfig config) {
    for (int d = 0 ; d < HermesBrowser.getBrowser().getDocumentPane().getDocumentCount() ; d++) {
       DocumentComponent doc =  HermesBrowser.getBrowser().getDocumentPane().getDocumentAt(d) ;
       if (doc instanceof QueueBrowseAction) {
         QueueBrowseAction qBrowser = (QueueBrowseAction) doc ;
         if (qBrowser.getDestinationConfig().equals(config)) {
           return qBrowser ;
         }
       }
     }
    return null ;
View Full Code Here


          HermesBrowser.getBrowser().getActionFactory().createBrowseContextAction(node.getConfig());
         
        } else if (selectionPath.getLastPathComponent() instanceof DestinationConfigTreeNode) {
          final DestinationConfigTreeNode destinationNode = (DestinationConfigTreeNode) selectionPath.getLastPathComponent();
          final Hermes hermes = ((HermesTreeNode) destinationNode.getHermesTreeNode()).getHermes();
          final QueueBrowseAction qBrowser = HermesBrowser.getBrowser().getOpenQueueBrowser(destinationNode.getConfig()) ;
          if (qBrowser != null) {
            qBrowser.refresh() ;
          } else {
            HermesBrowser.getBrowser().getActionFactory().createQueueBrowseAction(hermes, destinationNode.getConfig());
          }
        } else if (selectionPath.getLastPathComponent() instanceof RepositoryTreeNode) {
          final RepositoryTreeNode repNode = (RepositoryTreeNode) selectionPath.getLastPathComponent();
View Full Code Here

TOP

Related Classes of hermes.browser.actions.QueueBrowseAction

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.