Package ch.fork.AdHocRailway.technical.configuration.importer

Examples of ch.fork.AdHocRailway.technical.configuration.importer.XMLImporter


                        progressBar.setIndeterminate(true);
                        FileTurnoutPersistence.getInstance().clear();
                        FileLocomotivePersistence.getInstance().clear();
                        FileRoutePersistence.getInstance().clear();

                        new XMLImporter(file.getAbsolutePath());

                        hostnameLabel.setText(Preferences.getInstance()
                                .getStringValue(PreferencesKeys.HOSTNAME));
                        turnoutPersistence = FileTurnoutPersistence
                                .getInstance();
View Full Code Here


                            HibernatePersistence.disconnect();

                            HibernatePersistence.setup();
                            HibernatePersistence.connect();

                            new XMLImporter(actualFile.getAbsolutePath(),
                                    HibernateTurnoutPersistence.getInstance(),
                                    HibernateLocomotivePersistence
                                            .getInstance(),
                                    HibernateRoutePersistence.getInstance());
View Full Code Here

TOP

Related Classes of ch.fork.AdHocRailway.technical.configuration.importer.XMLImporter

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.