Package org.jitterbit.ui.widget.tree

Examples of org.jitterbit.ui.widget.tree.KongaTreeNode.addChild()


        private KongaTreeNode createRoot() {
            KongaTreeNode root = createEmptyRootNode();
            for (KongaTreeNode node : nodes.values()) {
                if (node.getParent() == null) {
                    root.addChild(node);
                }
            }
            return root;
        }
View Full Code Here


        }

        private KongaTreeModel createModel() {
            KongaTreeNode root = new DefaultKongaTreeNode("root", true);
            KongaTreeNode operations = new DefaultKongaTreeNode(root, EntityType.Operation.getPlural(), true);
            operations.addChild(operationNode);
            KongaTreeNode transformations = new DefaultKongaTreeNode(root, EntityType.Transformation.getPlural(), true);
            transformations.addChild(transformationNode);
            return new DefaultKongaTreeModel(root);
        }
View Full Code Here

        private KongaTreeModel createModel() {
            KongaTreeNode root = new DefaultKongaTreeNode("root", true);
            KongaTreeNode operations = new DefaultKongaTreeNode(root, EntityType.Operation.getPlural(), true);
            operations.addChild(operationNode);
            KongaTreeNode transformations = new DefaultKongaTreeNode(root, EntityType.Transformation.getPlural(), true);
            transformations.addChild(transformationNode);
            return new DefaultKongaTreeModel(root);
        }

        public void setNewNames(String operationName, String transformationName) {
            operationNode.setUserObject(operationName);
View Full Code Here

        protected IntegrationEntityTreeModel createModelForProject(IntegrationProject project) {
            KongaTreeNode root = new JitterbitConnectNode();
            for (EntityType type : config.getTypesToInclude()) {
                if (type.isWizardType()) {
                    IntegrationEntityTreeModel subTree = ProjectTreeFragmentCreator.createTreeModel(project, type);
                    root.addChild(subTree.getRoot());
                }
            }
            return new IntegrationEntityTreeModel(root);
        }
    }
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.