Class AllowNonProjectEditing

  • All Implemented Interfaces:
    com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension

    public class AllowNonProjectEditing
    extends java.lang.Object
    implements com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static com.intellij.openapi.util.Key<java.lang.Boolean> ALLOW_NON_PROJECT_EDITING
      Prevents the dialog "Non-Projects File Protection" when editing files that do not belong the the current project.
      • Fields inherited from interface com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension

        EP_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isWritable​(@NotNull com.intellij.openapi.vfs.VirtualFile file)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension

        isNotWritable
    • Field Detail

      • ALLOW_NON_PROJECT_EDITING

        public static final com.intellij.openapi.util.Key<java.lang.Boolean> ALLOW_NON_PROJECT_EDITING
        Prevents the dialog "Non-Projects File Protection" when editing files that do not belong the the current project.
    • Constructor Detail

      • AllowNonProjectEditing

        public AllowNonProjectEditing()
    • Method Detail

      • isWritable

        public boolean isWritable​(@NotNull
                                  @NotNull com.intellij.openapi.vfs.VirtualFile file)
        Specified by:
        isWritable in interface com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension