Examples of newIntPreference()


Examples of org.jitterbit.application.prefs.PreferenceFactory.newIntPreference()

   
    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;
    }
       
    private TabSizePreference() {/**/}
   
View Full Code Here

Examples of org.jitterbit.application.prefs.PreferenceFactory.newIntPreference()

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

    private DeployHistoryAgePreference() {/**/}
}
 
View Full Code Here

Examples of org.jitterbit.application.prefs.PreferenceFactory.newIntPreference()

   
    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;
    }
   
    private ProjectHistorySizePreference() {/**/}
   
View Full Code Here

Examples of org.jitterbit.application.prefs.PreferenceFactory.newIntPreference()

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

    private TestHistoryAgePreference() {/**/}
}
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.