Package com.nexirius.theteam.persistence

Examples of com.nexirius.theteam.persistence.FileBasedTeamPersistence


        mainModel.appendMethod(exitMethod = new ExitMethod());
        mainModel.appendMethod(new HelpCommand("About", "about.help"));
    }

    public void init() {
        TeamPersistenceManager.setPersistence(new FileBasedTeamPersistence());
        getMainPanel().setLayout(new BorderLayout());
        getMainPanel().add(mainController.createJComponent(), BorderLayout.CENTER);
        getMainFrame().pack();
        DialogManager.center(getMainFrame(), true);
    }
View Full Code Here


    }

    class PersistenceSelectorListener extends DataModelAdaptor {
        public void dataModelChangeValue(DataModelEvent event) {
            if (persistenceSelector.getInt() == 0) {
                TeamPersistenceManager.setPersistence(new FileBasedTeamPersistence());
            } else {
                TeamPersistenceManager.setPersistence(new DataBaseTeamPersistence());
            }

            reload();
View Full Code Here

TOP

Related Classes of com.nexirius.theteam.persistence.FileBasedTeamPersistence

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.