Examples of KongaTree


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

    public void requestFocus() {
        tree.requestFocus();
    }

    private CheckBoxTree createTree(KongaTreeModel model) {
        KongaTree tree = new TreeImpl(model);
        tree.setRootVisible(false);
        tree.setShowsRootHandles(true);
        tree.setCellRenderer(new TreeNodeDecorRenderer());
        CheckBoxTree cbt = new CheckBoxTree(tree);
        return cbt;
    }
View Full Code Here

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

            tree = createTree();
        }

        private KongaTree createTree() {
            KongaTreeModel model = createModel();
            KongaTree tree = new KongaTree(model);
            tree.setRootVisible(false);
            tree.setShowsRootHandles(true);
            tree.setVisibleRowCount(5);
            tree.setCellRenderer(new Renderer());
            tree.expandAll();
            return tree;
        }
View Full Code Here

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

    public void requestFocus() {
        tree.requestFocusInWindow();
    }

    private KongaTree createTree(ListenerReport r) {
        KongaTree tree = new KongaTree(createTreeModel(r));
        tree.setRootVisible(false);
        tree.setShowsRootHandles(true);
        tree.setCellRenderer(new Renderer());
        tree.expandAll();
        return tree;
    }
View Full Code Here

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

            }
        });
    }

    private KongaTree createTree() {
        KongaTree tree = new KongaTree(modelBuilder.buildNewModel());
        tree.expandAll();
        tree.setCellRenderer(new IntegrationEntityTreeRenderer());
        return tree;
    }
View Full Code Here

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

    public void requestFocus() {
        conflictTree.requestFocus();
    }
   
    private KongaTree createTree(KList<WebServiceCall> conflicted) {
        KongaTree tree = new KongaTree(createTreeModel(conflicted));
        tree.setCellRenderer(new TreeNodeDecorRenderer());
        tree.setRootVisible(false);
        tree.setShowsRootHandles(true);
        tree.expandAll();
        return tree;
    }
View Full Code Here

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

        }
        return selectedItems.isEmpty() ? null : new TransferableIntegrationEntities(selectedItems);
    }

    private KList<? extends IntegrationEntity> getSelectedItems(JComponent c) {
        KongaTree tree = (KongaTree) c;
        KList<? extends IntegrationEntity> selectedItems = tree.getSelectedNodes()
            .keepAll(APPLICABLE_NODES)
            .transform(new NodeToEntity());
        return selectedItems;
    }
View Full Code Here

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

        tree = createTree(treeModel);
        treeSelSrc = createSelectionSource();
    }

    private KongaTree createTree(KongaTreeModel model) {
        KongaTree tree = new KongaTree(model);
        IntegrationEntityTreeRenderer renderer = new IntegrationEntityTreeRenderer();
        renderer.setDecorateInvalidNodes(true);
        tree.setCellRenderer(renderer);
        tree.setShowsRootHandles(true);
        tree.expandAll();
        return tree;
    }
View Full Code Here

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

        filterControl = TreeFilterControl.NO_FILTER;
        modelBindings = createModelBindings();
    }

    private KongaTree createTree() {
        KongaTree tree = new KongaTree(treeSupport.buildModel());
        tree.setToolTipsEnabled(false);
        tree.setCellRenderer(treeSupport.getNodeRenderer());
        tree.asSelectionSource().setNodeObjectConverter(treeSupport.getSelectionConverter());
        tree.setVisibleRowCount(6);
        return tree;
    }
View Full Code Here

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

        modelFactory.setNodeOrder(order);
    }
   
    private KongaTree newTreeImpl(List<? extends IntegrationEntity> entities, KongaTreeNode root, boolean showRoot) {
        KongaTreeModel model = modelFactory.newModel(entities, root);
        KongaTree tree = new KongaTree(model);
        tree.setCellRenderer(new IntegrationEntityTreeRenderer());
        tree.expandAll();
        tree.setRootVisible(showRoot);
        return tree;
    }
View Full Code Here

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

public final class RequiredObjectsTreeUi implements UiProvider {

    private final KongaTree tree;
   
    public RequiredObjectsTreeUi(RequiredObjectsTree tree) {
        this.tree = new KongaTree(buildTreeModel(tree));
        this.tree.setCellRenderer(new IntegrationEntityTreeRenderer());
        this.tree.setRowHeight(20);
        this.tree.expandAll();
    }
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.