Package org.jitterbit.integration.uidelegate.entity.renderer

Examples of org.jitterbit.integration.uidelegate.entity.renderer.IntegrationEntityListDecorRenderer


                               WebServiceCall wsCall,
                               Operation from,
                               List<Operation> currentSiblings) {
        lists = new SourceAndTargetList(ComponentFactories.newKongaListFactory(),
                        ComponentFactories.newKongaListFactory());
        lists.setCellRenderer(new IntegrationEntityListDecorRenderer());
        lists.setSourceItems(getSourceItems(project, from), true);
        lists.setTargetItems(currentSiblings.toArray());
        lists.setSourceListFilter(new ListFilterImpl(wsCall), false);
        lists.setTitles(getString("SiblingSelector.Available"), getString("SiblingSelector.Selected"));
        lists.enableTargetListReordering();
View Full Code Here


        bindProperties();
    }

    private KongaList createResultList() {
        KongaListFactory f = ComponentFactories.newKongaListFactory();
        f.setCellRenderer(new IntegrationEntityListDecorRenderer());
        f.setVisibleRowCount(15);
        KongaList list = f.newList();
        list.setDefaultAction(new OpenMatchingItemsAction());
        return list;
    }
View Full Code Here

    private KongaList createList(Collection<? extends IntegrationEntity> entities, int visibleRowCount) {
        KongaListFactory factory = ComponentFactories.newKongaListFactory();
        factory.setVisibleRowCount(visibleRowCount);
        factory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        IntegrationEntityListDecorRenderer renderer = new IntegrationEntityListDecorRenderer();
        renderer.setInsets(new Insets(2, 0, 2, 0));
        factory.setCellRenderer(renderer);
        return factory.newList(entities);
    }
View Full Code Here

        comboModel = new ComboModelImpl(treeModel);
        comboBox = new KongaComboBox(comboModel);
        comboBox.setPrototypeDisplayValue("XXXXXXXXXXXXXXXXXXXXxXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        comboBox.setMaximumRowCount(Intervals.valueWithin(comboModel.getSize(), 8, 20));
        TreeComboBoxSelectionControl.install(comboBox);
        renderer = new DefaultTreeComboBoxRenderer(comboModel, new IntegrationEntityListDecorRenderer());
        comboBox.setRenderer(renderer);
        rebuilder = new ComboRebuilder();
        modificationListener = new ProjectPropertyChangeSupport(explorer.getProject(), false);
        modificationListener.addPropertyChangeListener(IntegrationEntity.MODIFIED_AT_PROPERTY, rebuilder);
        treeModel.addTreeModelListener(rebuilder);
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.uidelegate.entity.renderer.IntegrationEntityListDecorRenderer

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.