Package org.jitterbit.integration.client.ui.de.global

Examples of org.jitterbit.integration.client.ui.de.global.DataElementsWidget


* @since 3.1.0
*/
public final class DefaultSelectorsBuilder {

    public static DataElementSelector buildDataElementSelector(IntegrationProject project) {
        DataElementsWidget deWidget = createWidget();
        GlobalDataElementsBrowser browser = new GlobalDataElementsBrowser(deWidget, false);
        browser.setGlobalDataElements(project.getGlobalDataElements());
        DefaultDataElementSelector selector = new DefaultDataElementSelector(browser);
        selector.setAllowBuiltInVariablesToBeHidden(false);
        return selector;
View Full Code Here


        return selector;
    }

    private static DataElementsWidget createWidget() {
        LayoutType layout = LayoutTypePreference.get();
        DataElementsWidget widget;
        if (layout == LayoutType.TABS) {
            widget = new SplitDataElementsListWidget();
        } else {
            widget = new DataElementsTreeWidget();
        }
        widget.setIncludeBuiltInDataElements(true);
        return widget;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.de.global.DataElementsWidget

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.