CPP-4586 'Mark Directory As' should not be available for source/library subfolders...
authorAnton Makeev <Anton.Makeev@jetbrains.com>
Fri, 25 Sep 2015 09:40:44 +0000 (11:40 +0200)
committerAnton Makeev <Anton.Makeev@jetbrains.com>
Fri, 25 Sep 2015 09:40:44 +0000 (11:40 +0200)
* actions are not available for content roots and when the selected root is already marked as such

platform/lang-impl/src/com/intellij/ide/projectView/actions/MarkRootActionBase.java

index 79d30b1df9dcd36a87aec8666dfb5f182c130d4d..633f677e9dee06979d96e53beed02e6a9220f634 100644 (file)
@@ -182,7 +182,7 @@ public abstract class MarkRootActionBase extends DumbAwareAction {
     return result;
   }
 
-  protected static class RootsSelection {
+  public static class RootsSelection {
     public static final RootsSelection EMPTY = new RootsSelection();
 
     public List<SourceFolder> mySelectedRoots = new ArrayList<SourceFolder>();