Package org.evolizer.famix.importer.jobs

Examples of org.evolizer.famix.importer.jobs.FamixStoreModelJob


                parseJob.setUser(true);
                parseJob.setProgressGroup(pm, 5);
                parseJob.schedule();
                parseJob.join();

                Job storeModelJob = new FamixStoreModelJob(dbUrl, parseJob.getFamixModel());
                storeModelJob.setUser(true);
                storeModelJob.setProgressGroup(pm, 5);
                storeModelJob.schedule();
                storeModelJob.join();

                entities = selectionHandler.getSelectedEntities(snapshotAnalyzer);
            }
           
            AbstractGraphEditCommand command = new AddEntitiesCommand(entities, fGraphPanel.getGraphLoader(), fGraphPanel.getEdgeGrouper());
View Full Code Here


                        AbstractFamixEntity firstEntity = currentParser.getModel().getFamixEntities().iterator().next();
                        if (firstEntity.getId() == null) {
                            EvolizerSessionHandler.getHandler().initSessionFactory(javaProject.getProject());

                            String dbUrl = EvolizerSessionHandler.getDBUrl(javaProject.getProject());
                            Job mainJob = new FamixStoreModelJob(dbUrl, currentParser.getModel());
                            mainJob.setUser(true);
                            mainJob.schedule();
                        } else {
                            sLogger.warn("FamixModel has already been stored.");
                        }
                    } else {
                        sLogger.warn("No elements to store for the selected project. Extract a model first.");
View Full Code Here

TOP

Related Classes of org.evolizer.famix.importer.jobs.FamixStoreModelJob

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.