Package com.intellij.openapi.roots

Examples of com.intellij.openapi.roots.ModuleRootListener


      }
    });

    // clear caches after modules roots were changed
    final MessageBusConnection connection = project.getMessageBus().connect();
    connection.subscribe(ProjectTopics.PROJECT_ROOTS, new ModuleRootListener() {
      final List<VirtualFile> myPreviousStepDefsProviders = new ArrayList<VirtualFile>();

      public void beforeRootsChange(ModuleRootEvent event) {
        myPreviousStepDefsProviders.clear();
View Full Code Here


                myComputedType.clear();
                myCalculatedTypes.clear();
            }
        });

        project.getMessageBus().connect().subscribe(ProjectTopics.PROJECT_ROOTS, new ModuleRootListener() {
            public void beforeRootsChange(ModuleRootEvent event) {
            }

            public void rootsChanged(ModuleRootEvent event) {
                myCalculatedTypes.clear();
View Full Code Here

            private boolean isRelevant(String path) {
                return path != null && path.endsWith(LeiningenConstants.PROJECT_CLJ);
            }
        });

        myBusConnection.subscribe(ProjectTopics.PROJECT_ROOTS, new ModuleRootListener() {
            public void beforeRootsChange(ModuleRootEvent moduleRootEvent) {

            }

            public void rootsChanged(ModuleRootEvent moduleRootEvent) {
View Full Code Here

TOP

Related Classes of com.intellij.openapi.roots.ModuleRootListener

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.