Package org.jitterbit.application.ui.prefs

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


*/
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


        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

    }

    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

    }
   
    private PreferenceUi createProjectHistorySizePref() {
        IntPreferenceUi field = new IntPreferenceUi(ProjectHistorySizePreference.instance(), "History Size:", 4);
        field.setSelectAllWhenFocused(true);
        return new TitledPreferenceUi(
                        field,
                        "Project History Size",
                        "<html>This value specifies the maximum number of " +
                        "projects that are remembered in the local<br>client project history. The projects in the " +
                        "history are displayed on the opening screen when<br>the client is started.</html>");
View Full Code Here

    }
   
    private PreferenceUi createDeployHistoryAgePref() {
        IntPreferenceUi field = new IntPreferenceUi(DeployHistoryAgePreference.INSTANCE, "History Size (Days):", 5);
        field.setSelectAllWhenFocused(true);
        return new TitledPreferenceUi(
                        field,
                        "Deploy History Size",
                        "<html>This value specifies the number of days a record of a deploy process " +
                        "will be stored in the project's<br>Deploy History. Older records will be deleted.");
    }
View Full Code Here

    }

    private PreferenceUi createTestHistoryAgePref() {
        IntPreferenceUi field = new IntPreferenceUi(TestHistoryAgePreference.INSTANCE, "History Size (Days):", 5);
        field.setSelectAllWhenFocused(true);
        return new TitledPreferenceUi(
                        field,
                        "Test History Size",
                        "<html>This value specifies the number of days a record of a test (e.g. Test Transformation, Test Connection) " +
                        "will be stored in the project's<br>Test History. Older records will be deleted.");
    }
View Full Code Here

TOP

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

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.