Package org.evolizer.famix.importer.jobs

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


                IProgressMonitor pm = Job.getJobManager().createProgressGroup();
                pm.beginTask("Extracting and storing the FAMIX model for further use ...", 10);

                List<IJavaElement> selection = new ArrayList<IJavaElement>();
                selection.add(selectedProject);
                FamixParserJob parseJob = new FamixParserJob(selection);
                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();
View Full Code Here


        List<IJavaElement> selectedJavaElements = new ArrayList<IJavaElement>();
        try {
            selectedJavaElements = JavaSelectionHelper.getPackagesAndSelectedJavaElements(selection);

            if (selectedJavaElements.size() > 0) {
                Job mainJob = new FamixParserJob(selectedJavaElements);
                mainJob.setUser(true);
                mainJob.schedule();
            }
        } catch (EvolizerException ee) {
            throw new ExecutionException(ee.getMessage());
        }
View Full Code Here

TOP

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

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.