new framework detection: migrated usages of old excludes configuration

This commit is contained in:
nik
2011-08-08 13:18:54 +04:00
parent 58e0fd9fe8
commit aee1f4e4cf
8 changed files with 49 additions and 22 deletions
@@ -29,8 +29,6 @@ public abstract class FacetAutodetectingManager {
return project.getComponent(FacetAutodetectingManager.class);
}
public abstract void disableAutodetectionInDirs(@NotNull Module module, @NotNull String... dirUrls);
public abstract void disableAutodetectionInFiles(@NotNull FacetType type, @NotNull Module module, @NotNull String... fileUrls);
public abstract void disableAutodetectionInModule(FacetType type, Module module);
@@ -279,14 +279,6 @@ public class FacetAutodetectingManagerImpl extends FacetAutodetectingManager imp
myDisabledAutodetectionInfo.addDisabled(type.getStringId(), module.getName());
}
public void disableAutodetectionInDirs(@NotNull Module module, @NotNull String... dirUrls) {
for (FacetType<?, ?> facetType : myFacetTypesWithDetectors) {
for (String dirUrl : dirUrls) {
myDisabledAutodetectionInfo.addDisabled(facetType.getStringId(), module.getName(), dirUrl, true);
}
}
}
public void disableAutodetectionInFiles(@NotNull final FacetType type, @NotNull final Module module, @NotNull final String... fileUrls) {
myDisabledAutodetectionInfo.addDisabled(type.getStringId(), module.getName(), fileUrls);
}