Package hermes.browser.dialog

Examples of hermes.browser.dialog.BindToolDialog.pack()


          final NamingConfigTreeNode namingConfigTreeNode = (NamingConfigTreeNode) getSelectionPath().getLastPathComponent();
          final Collection objects = (Collection) t.getTransferData(HermesAdministeredObjectTransferable.FLAVOR);
          final JNDIContextFactory contextFactory = new JNDIContextFactory(namingConfigTreeNode.getConfig());
          final BindToolDialog bindTool = new BindToolDialog(HermesBrowser.getBrowser(), contextFactory, "", objects);

          bindTool.pack();
          JideSwingUtilities.centerWindow(bindTool);
          bindTool.show();

          return true;
        }
View Full Code Here


         final Collection objects = (Collection) t.getTransferData(HermesAdministeredObjectTransferable.FLAVOR);
         final BindToolDialog bindTool = new BindToolDialog(HermesBrowser.getBrowser(), model.getContextFactory(), bindingRoot, objects);

         log.debug("got " + objects.size() + " objects to bind relative to " + bindingRoot);

         bindTool.pack();
         JideSwingUtilities.centerWindow(bindTool);
         bindTool.show();

         return true;
      }
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.