module content search scopes
[idea/community.git] / platform / lang-impl / src / com / intellij / openapi / module / impl / ModuleImpl.java
index ce1a463bbd08424c5644731a08b70f830344a1b4..423711e8b47cab159700a8797489aec0c2042d94 100644 (file)
@@ -253,6 +253,16 @@ public class ModuleImpl extends ComponentManagerImpl implements Module {
     return getCachedScope(ModuleWithDependenciesScope.COMPILE | ModuleWithDependenciesScope.TESTS | ModuleWithDependenciesScope.MODULES);
   }
 
+  @Override
+  public GlobalSearchScope getModuleContentScope() {
+    return getCachedScope(ModuleWithDependenciesScope.CONTENT);
+  }
+
+  @Override
+  public GlobalSearchScope getModuleContentWithDependenciesScope() {
+    return getCachedScope(ModuleWithDependenciesScope.CONTENT | ModuleWithDependenciesScope.MODULES);
+  }
+
   public GlobalSearchScope getModuleWithDependenciesAndLibrariesScope(boolean includeTests) {
     return getCachedScope(ModuleWithDependenciesScope.COMPILE |
                           ModuleWithDependenciesScope.MODULES |