Package org.python.pydev.core

Examples of org.python.pydev.core.ModulesKey


            iFiles.add(new Tuple<List<ModulesKey>, IPythonNature>(modules, natureRefactoring));
            FastStringBuffer tempBuf = new FastStringBuffer();
            for (PyFileInfo info : filesInRefactoringProject) {
                File f = info.getFile();
                String modName = info.getModuleName(tempBuf);
                ModulesKey modulesKey = new ModulesKey(modName, f);
                modules.add(modulesKey);

                SourceModule mod = (SourceModule) AbstractModule.createModule(modName, f, natureRefactoring, true);

                //also create the additional info so that it can be used for finds
View Full Code Here


    public void tearDown() throws Exception {
        CompiledModule.COMPILED_MODULES_ENABLED = false;
        ProjectModulesManager projectModulesManager = ((ProjectModulesManager) nature.getAstManager()
                .getModulesManager());
        projectModulesManager.doRemoveSingleModule(new ModulesKey("foo", null));
        projectModulesManager.doRemoveSingleModule(new ModulesKey("foo0", null));
        projectModulesManager.doRemoveSingleModule(new ModulesKey("fooIn1", null));
        projectModulesManager.doRemoveSingleModule(new ModulesKey("fooIn10", null));

        projectModulesManager = ((ProjectModulesManager) nature2.getAstManager().getModulesManager());
        projectModulesManager.doRemoveSingleModule(new ModulesKey("fooIn2", null));
        projectModulesManager.doRemoveSingleModule(new ModulesKey("fooIn20", null));

        if (baseDir.exists()) {
            FileUtils.deleteDirectoryTree(baseDir);
        }
        super.tearDown();
View Full Code Here

TOP

Related Classes of org.python.pydev.core.ModulesKey

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.