Package org.jitterbit.ui.widget.tree

Examples of org.jitterbit.ui.widget.tree.DefaultKongaTreeModel


        new Node(c1, "c11");
        Node c2 = new Node(root, "c2");
        new Node(c2, "c21");
        Node c22 = new Node(c2, "c22");
        new Node(c22, "c221");
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here


    private DefaultKongaTreeModel createModel(LdapStructureEntryNode node, boolean selectedAttributesOnly) {
        KongaTreeNode root = new DefaultKongaTreeNode(node.getName(), true);
        for (LdapStructureAttribute attr : getAttributesToInclude(node, selectedAttributesOnly)) {
            AttributeNode.create(root, attr);
        }
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here

        buildFileLocationBranch(root);
        buildLdapLocationBranch(root);
        buildOperationSubTree(root);
        buildScriptSubTree(root);
        buildEmailMessageSubTree(root);
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here

        selectionSource.setNodeObjectConverter(new SelectionConverter(tree.getModel()));
        filterField = createFilterField();
    }

    private KongaTree createTree() {
        DefaultKongaTreeModel model = new DefaultKongaTreeModel(createRootNode());
        KongaTree tree = new KongaTree(model);
        tree.setDragEnabled(true);
        tree.setToolTipsEnabled(true);
        tree.setTransferHandler(new TransferHandlerImpl());
        tree.setCellRenderer(new Renderer());
View Full Code Here

            addProjectVariableNodes(root);
        }
        if (includeBuiltInDataElements) {
            addDataElementNodes(new JitterbitVariablesNode(root), BuiltInDataElements.getBuiltInDataElements());
        }
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here

    public KongaTreeModel newTreeModel(JmsMessage msg) {
        DefaultKongaTreeNode root = createRootAndHeaders();
        DefaultKongaTreeNode msgRoot = createUserDefinedPropertiesHeader(root);
        addMessageNode(msgRoot, msg);
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here

    public KongaTreeModel newTreeModel(IntegrationProject project) {
        DefaultKongaTreeNode root = createRootAndHeaders();
        DefaultKongaTreeNode msgRoot = createUserDefinedPropertiesHeader(root);
        addProjectMessageNodes(msgRoot, project);
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here

            }
            if (folder.getChildCount() > 0) {
                root.addChild(folder);
            }
        }
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here

            root = createRoot();
            if (isConnected()) {
                addPlugins(root);
            }
        }
        return new DefaultKongaTreeModel(root);
    }
View Full Code Here

    public void removeSelectionListener(SelectionListener lst) {
        selectionSource.removeSelectionListener(lst);
    }

    private KongaTree createTree() {
        KongaTreeModel model = new DefaultKongaTreeModel(new DefaultKongaTreeNode("Projects", true));
        KongaTree tree = new KongaTree(model);
        tree.setCellRenderer(new TreeNodeDecorRenderer());
        tree.setRootVisible(false);
        tree.setShowsRootHandles(true);
        tree.setSelectionMode(SelectionMode.SINGLE_TREE_SELECTION);
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.tree.DefaultKongaTreeModel

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.