Package org.jitterbit.ui.widget.list

Examples of org.jitterbit.ui.widget.list.SourceAndTargetList


    public SiblingListSelector(IntegrationProject project,
                               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);
View Full Code Here


        d.setToolTip(PackageResources.Wizard.ClassSelector.SEARCH_TOOLTIP);
        return d;
    }

    private SourceAndTargetList createClassLists() {
        SourceAndTargetList lists = new SourceAndTargetList(ComponentFactories.newKongaListFactory(),
                        ComponentFactories.newKongaListFactory());
        lists.setTransferPolicy(new ClassListTransferPolicy());
        lists.setTitles(PackageResources.Wizard.ClassSelector.AVAILABLE, PackageResources.Wizard.ClassSelector.SELECTED);
        lists.setTitleDecorator(new LabelDecorator() {

            @Override
            public void decorate(Label label) {
                label.setBackgroundColor(StyleSheet.ComponentTableHeader.getBackground());
                label.setTextColor(TextStyles.ComponentTableHeaderText.getColor());
                label.setFont(TextStyles.ComponentTableHeaderText.getFont());
                label.setBorder(StyleSheet.ComponentTableHeader.getBorder());
            }
        });
        lists.setPrototypeCellValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
        lists.setVisibleRowCount(15);
        lists.addListener(new ListListener());
        lists.setCellRenderer(new DefaultListDecorRenderer());
        return lists;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.widget.list.SourceAndTargetList

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.