Package org.enhydra.jawe.components.simplenavigator

Examples of org.enhydra.jawe.components.simplenavigator.SimpleNavigatorPanel


                }

                // hilite affected process in tree
                if (wp != null) {
                    SimpleNavigator tcon = (SimpleNavigator) JaWEManager.getInstance().getComponentManager().getComponent("SimpleNavigatorComponent");
                    SimpleNavigatorPanel panel = (SimpleNavigatorPanel) (tcon.getView());
                    panel.getTree().removeTreeSelectionListener(tcon);
                    XPDLTreeNode n = ((XPDLTreeModel) panel.getTreeModel()).findNode(wp);
                    TreePath tp = null;
                    if (n != null) {
                        tp = new TreePath(n.getPath());
                        panel.getTree().addSelectionPath(tp);
                    }
                    if (tp != null) {
                        panel.getTree().scrollPathToVisible(tp);
                    }
                    panel.getTree().addTreeSelectionListener(tcon);
                }
            }
        }
View Full Code Here

TOP

Related Classes of org.enhydra.jawe.components.simplenavigator.SimpleNavigatorPanel

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.