Package org.openide.nodes.Node

Examples of org.openide.nodes.Node.PropertySet


        if (node != null) {//dealing with compiler error sheet


            Node[] nodes = node.getChildren().getNodes();

            PropertySet set[];
            if (nodes.length != 0) {
                set = nodes[0].getPropertySets();
            } else {
                set = node.getPropertySets();
            }

            if (set.length > 0) {
                properties = set[0].getProperties();
                if(properties.length > 0){
                    ((TreeTableView) jScrollPane1).setProperties(properties);
                }
            }

            mgr.setRootContext(node);

        } else if (outputNode != null) {//dealing with output console sheet
            PropertySet set[] = outputNode.getPropertySets();
            if (set.length > 0) {
                properties = set[0].getProperties();
            }
            try {
                ((TreeTableView) jScrollPane1).setProperties(properties);
View Full Code Here

TOP

Related Classes of org.openide.nodes.Node.PropertySet

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.