Package org.jitterbit.application.ui.prefs

Examples of org.jitterbit.application.ui.prefs.PreferenceUi


* @since 4.0.0
*/
public final class LayoutTypePreferenceUiFactory {

    public static PreferenceUi build(String title, String description) {
        PreferenceUi selector = createSelector();
        return new TitledPreferenceUi(selector, title, description);
    }
View Full Code Here


        p.share(); // Displayed in the Source & Target preference page too
        return p;
    }
   
    private PreferenceUi createEdgeTypePref() {
        PreferenceUi p = new FixedSetPreferenceUi<EdgeType>(EdgeTypePreference.instance(), "", false);
        return new TitledPreferenceUi(p, Strings.get("Prefs.EdgeType.Title"), Strings.get("Prefs.EdgeType.Caption"));
    }
View Full Code Here

        mapAreaDisplayPrefs = KongaListUtils.transform(MapAreaDisplayOption.values(), new ControlFactory());
        addControls(mapAreaDisplayPrefs);
    }

    private PreferenceUi createBooleanPreferenceUi(BooleanPreference pref, String label) {
        PreferenceUi prefUi = new BooleanPreferenceUi(pref, label);
        addControl(prefUi);
        return prefUi;
    }
View Full Code Here

    }

    private PreferenceUi createFormulaBuilderDisplayModePref() {
        FixedSetPreferenceUi<FormulaBuilderDisplayMode> field = new FixedSetPreferenceUi<FormulaBuilderDisplayMode>(
                        FormulaBuilderDisplayModePreference.INSTANCE, null, false);
        PreferenceUi prefUi = new TitledPreferenceUi(
                        field,
                        "Formula Builder Display Mode",
                        "<html>Controls how the formula builder is displayed.<br>" +
                            "Changing this preference does not affect transformation pages that are already open.");
        addControl(prefUi);
View Full Code Here

        addControl(prefUi);
        return prefUi;
    }

    private PreferenceUi createFormulaBuilderLayoutTypePref() {
        PreferenceUi prefUi = LayoutTypePreferenceUiFactory.build("Formula Builder Layout",
                "<html>Controls the layout of the formula builder.<br>" +
                    "Changing this preference does not affect transformation pages that are already open.</html>");
        addControl(prefUi);
        return prefUi;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.ui.prefs.PreferenceUi

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.