Package org.jitterbit.application.ui.prefs

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


        public void requestFocus() {
            prefs[0].requestFocus();
        }
       
        private IntPreferenceUi createEntryUi(MaxActivityEntriesToFetchPreference pref, String label) {
            IntPreferenceUi ui = new IntPreferenceUi(pref.getPreference(), label, 5);
            ui.setSelectAllWhenFocused(true);
            return ui;
        }
View Full Code Here


                        "Show getting started page on startup"));
        addControl(createServerCallTimeoutPrefUi());
    }

    private PreferenceUi createServerCallTimeoutPrefUi() {
        IntPreferenceUi prefUi = new IntPreferenceUi(ServerCallTimeoutPreference.INSTANCE,
                        "Server call timeout (in minutes):", 4);
        prefUi.setSelectAllWhenFocused(true);
        return prefUi;
    }
View Full Code Here

            "<html>Controls the layout of the script builder.<br>" +
                "Changing this preference does not affect script pages that are already open.</html>");
    }

    private IntPreferenceUi createTabSizePrefUi() {
        IntPreferenceUi ui = new IntPreferenceUi(TabSizePreference.instance(), "Tab size (does not affect formula builders that are currently open):", 3);
        ui.setSelectAllWhenFocused(true);
        return ui;
    }
View Full Code Here

        addControl(createRecentlyClosedEditorsPrefUi());
        addControl(new BooleanPreferenceUi(AnimationPreference.INSTANCE, "Use animation effects in the UI"));
    }
   
    private PreferenceUi createRecentlyClosedEditorsPrefUi() {
        IntPreferenceUi prefUi = new IntPreferenceUi(RecentlyClosedEditorsPreference.INSTANCE,
                        "Number of recently closed pages to keep in the list under Windows > Recently Closed:", 2);
        prefUi.setSelectAllWhenFocused(true);
        return prefUi;
    }
View Full Code Here

            createTempBackupFrquencyPref()
        );
    }
   
    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 " +
View Full Code Here

                        "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>");
    }
   
    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

                        "<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.");
    }

    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

                        "<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.");
    }
   
    private IntPreferenceUi createTempBackupFrquencyPref() {
        IntPreferenceUi pref = new IntPreferenceUi(TemporaryBackupFrequencyPreference.INSTANCE,
                        "Temporary backup frequency in minutes (0 to disable):", 5);
        pref.setSelectAllWhenFocused(true);
        return pref;
    }
View Full Code Here

   
    private final IntPreferenceUi maxIntermediateField;
   
    public BackupPreferencesPage() {
        super(BackupPreferences.PATH);
        referenceFreqField = new IntPreferenceUi(BackupPreferences.referenceFrequencyInDays(),
                        "Reference backup frequency (in days):", 4);
        referenceFreqField.setSelectAllWhenFocused(true);
        maxIntermediateField = new IntPreferenceUi(BackupPreferences.maxNumberOfIntermediateBackups(),
                "Maximum number of intermediate backups:", 4);
        maxIntermediateField.setSelectAllWhenFocused(true);
        addControl(referenceFreqField);
        addControl(maxIntermediateField);
    }
View Full Code Here

    public static final String PATH = "Schedules";
   
    public SchedulePreferencesPage() {
        super(new String[] { PATH });
        IntPreferenceUi simulatedRunsPref = new IntPreferenceUi(NumberOfSimulatedRunsPreference.INSTANCE,
                        "Number of runs to simulate when performing a Test Schedule:", 4);
        simulatedRunsPref.setSelectAllWhenFocused(true);
        addControl(simulatedRunsPref);
    }
View Full Code Here

TOP

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

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.