Examples of rebuildFromPreferences()


Examples of org.apache.cayenne.modeler.util.RecentFileMenu.rebuildFromPreferences()

        // update preferences
        if (!project.isLocationUndefined()) {
            getLastDirectory().setDirectory(project.getProjectDirectory());
            RecentFileMenu recentFileMenu = frame.getRecentFileMenu();
            recentFileMenu.rebuildFromPreferences();
            recentFileMenu.setEnabled(recentFileMenu.getMenuComponentCount() > 0);
        }

        // --- check for load errors
        if (project.getLoadStatus().hasFailures()) {
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.