Examples of IElementDef


Examples of org.webharvest.definition.IElementDef

     * @param defs
     */
    private void createNodes(DefaultMutableTreeNode root, IElementDef[] defs) {
        if (defs != null) {
            for (int i = 0; i < defs.length; i++) {
                IElementDef elementDef = defs[i];
                // constant text is not interesting to be in the visual tree
                if ( !(elementDef instanceof ConstantDef) ) {
                    TreeNodeInfo treeNodeInfo = new TreeNodeInfo(elementDef);
                    this.nodeInfos.put( treeNodeInfo.getElementDef(), treeNodeInfo );
                    DefaultMutableTreeNode node = treeNodeInfo.getNode();
                    this.treeModel.insertNodeInto(node, root, root.getChildCount());
                    createNodes( node, elementDef.getOperationDefs() );
                }
            }
        }
    }
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.