Package org.jitterbit.ui.widget.tree

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


        protected IntegrationEntityTreeModel createEmptyModel() {
            // This method is called from the super class CTOR, so type can be null here.
            if (type == null) {
                return super.createEmptyModel();
            }
            KongaTreeNode root = new DefaultKongaTreeNode(type.getPlural(), false);
            return new IntegrationEntityTreeModel(root);
        }
View Full Code Here


        return plugins.isEmpty();
    }
   
    public DefaultKongaTreeModel buildNewModel() {
        if (projectPlugins != null) {
            DefaultKongaTreeNode root = new DefaultKongaTreeNode(null, getRootName(), true);
            Map<PluginKey, SortedSet<IntegrationEntity>> data = buildDataMap();
            if (data.isEmpty()) {
                new DefaultKongaTreeNode(root, getString("AppliedPipelinePluginTree.Empty"), false);
            } else {
                populateModel(root, data);
            }
            return new DefaultKongaTreeModel(root);
        } else {
            KongaTreeNode root = new DefaultKongaTreeNode(getString("AppliedPipelinePluginTree.NoProject"), false);
            return new DefaultKongaTreeModel(root);
        }
    }
View Full Code Here

        return tree;
    }
   
    private DefaultKongaTreeModel createTreeModel(KList<WebServiceCall> conflicted) {
        conflicted.sort(BY_NAME);
        DefaultKongaTreeNode root = new DefaultKongaTreeNode("Conflicts", true);
        for (WebServiceCall wsCall : conflicted) {
            IntegrationEntityTreeNode wsNode = new IntegrationEntityTreeNode(root, wsCall, true);
            addOperationInfoNodes(wsNode, wsCall.getOperationInfo());
        }
        return new DefaultKongaTreeModel(root);
View Full Code Here

                        WebServiceOperationInfo.PORT_NAME, WebServiceOperationInfo.BINDING_NAME,
        };
        // These are standard terms that should not be localized:
        String[] titles = { "Operation", "Service", "Port", "Binding" };
        for (int n = 0; n < props.length; ++n) {
            new DefaultKongaTreeNode(parent, titles[n] + ": " + opInfo.getProperty(props[n]), false);
        }
    }
View Full Code Here

     * @param entities
     *            the <code>Collection<code> of <code>IntegrationEntity</code>s to convert to a tree
     *            model
     */
    public KongaTreeModel newModel(Collection<? extends IntegrationEntity> entities) {
        return newModel(entities, new DefaultKongaTreeNode("root", true));
    }
View Full Code Here

     * Creates a <code>KongaTree</code> from the given collection of
     * <code>IntegrationEntity</code>s. The tree's root node will not be visible.
     *
     */
    public KongaTree newTree(List<? extends IntegrationEntity> entities) {
        return newTreeImpl(entities, new DefaultKongaTreeNode("root", true), false);
    }
View Full Code Here

TOP

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

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.