Package org.jitterbit.application.prefs

Examples of org.jitterbit.application.prefs.IntPreference


    }
   
    private static IntPreference create() {
        String[] path = { "Server" };
        String key = "Timeout";
        IntPreference pref = ApplicationConfiguration.getPreferenceFactory().newIntPreference(
                        path, key, 1, getMaxValue(), 20);
        return pref;
    }
View Full Code Here


   
    private static IntPreference createPref() {
        String[] path = { "Script", "UI" };
        String key = "TabSize";
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        IntPreference pref = factory.newIntPreference(path, key, 1, 100, 4);
        return pref;
    }
View Full Code Here

    public static final IntPreference INSTANCE = create();
   
    private static IntPreference create() {
        String[] path = { "Editors" };
        String key = "RecentlyClosedEditorsSize";
        IntPreference pref = ApplicationConfiguration.getPreferenceFactory().newIntPreference(path, key, 0, 50, 10);
        return pref;
    }
View Full Code Here

   
    private static IntPreference create() {
        String[] path = new String[] { "Project" };
        String key = "DeployHistorySize";
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        IntPreference pref = factory.newIntPreference(path, key, 1, Integer.MAX_VALUE, 100);
        return pref;
    }
View Full Code Here

   
    private static IntPreference createPref() {
        String[] path = new String[] { "Project" };
        String key = "HistorySize";
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        IntPreference pref = factory.newIntPreference(path, key, 1, 1000, 50);
        return pref;
    }
View Full Code Here

   
    private static IntPreference create() {
        String[] path = new String[] { "Project" };
        String key = "TestHistoryAge";
        PreferenceFactory factory = ApplicationConfiguration.getPreferenceFactory();
        IntPreference pref = factory.newIntPreference(path, key, 0, Integer.MAX_VALUE, 30);
        return pref;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.application.prefs.IntPreference

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.