Examples of QueueSearchDialog


Examples of hermes.browser.dialog.QueueSearchDialog

    final BrowserTree browserTree = HermesBrowser.getBrowser().getBrowserTree();

    if (browserTree.getSelectionPath().getLastPathComponent() instanceof DestinationConfigTreeNode) {
      final DestinationConfigTreeNode destinationNode = (DestinationConfigTreeNode) browserTree.getSelectionPath().getLastPathComponent();
      final HermesTreeNode hermesNode = (HermesTreeNode) destinationNode.getHermesTreeNode();
      final QueueSearchDialog dialog = new QueueSearchDialog(HermesBrowser.getBrowser(), hermesNode.getHermes(), (DestinationConfig) destinationNode.getBean(), searchUserHeader);

      dialog.setLocationRelativeTo(null);
      dialog.show();
    } else if (browserTree.getSelectionPath().getLastPathComponent() instanceof HermesTreeNode) {
      final HermesTreeNode hermesNode = (HermesTreeNode) browserTree.getSelectionPath().getLastPathComponent();

      final QueueSearchDialog dialog = new QueueSearchDialog(HermesBrowser.getBrowser(), hermesNode.getHermes());

      JideSwingUtilities.centerWindow(dialog);
      dialog.show();
    }

  }
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.