Examples of ExceptionTreeNode


Examples of hermes.browser.model.tree.ExceptionTreeNode

   {
      if (getSelectionPath() != null)
      {
         if (getSelectionPath().getLastPathComponent() instanceof ExceptionTreeNode)
         {
            ExceptionTreeNode node = (ExceptionTreeNode) getSelectionPath().getLastPathComponent();

            HermesBrowser.getBrowser().showErrorDialog(node.getException().getClass().getName() + "\n" + node.getException());
         }
         else if (getSelectionPath().getLastPathComponent() instanceof AbstractTreeNode)
         {
            AbstractTreeNode node = (AbstractTreeNode) getSelectionPath().getLastPathComponent();

            if (node instanceof ContextTreeNode)
            {
               // NOP
            }
            else
            {
               BeanPropertyDialog dialog = new BeanPropertyDialog(HermesBrowser.getBrowser(), node.getBean(), false);
               dialog.pack();
               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.