Package org.apache.cayenne.modeler

Examples of org.apache.cayenne.modeler.ModelerPreferences


    /**
     * Rebuilds internal menu items list with the files stored in CayenneModeler
     * preferences.
     */
    public void rebuildFromPreferences() {
        ModelerPreferences pref = ModelerPreferences.getPreferences();
        Vector<?> arr = pref.getVector(ModelerPreferences.LAST_PROJ_FILES);
        while (arr.size() > ModelerPreferences.LAST_PROJ_FILES_SIZE) {
            arr.remove(arr.size() - 1);
        }

        // read menus
View Full Code Here


    /**
     * Rebuilds internal menu items list with the files stored in CayenneModeler
     * properences.
     */
    public void rebuildFromPreferences() {
        ModelerPreferences pref = ModelerPreferences.getPreferences();
        Vector arr = pref.getVector(ModelerPreferences.LAST_PROJ_FILES);
        while (arr.size() > 4) {
            arr.remove(arr.size() - 1);
        }

        // readd menus
View Full Code Here

TOP

Related Classes of org.apache.cayenne.modeler.ModelerPreferences

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.