Class AllowNonProjectEditing
java.lang.Object
com.redhat.devtools.intellij.common.editor.AllowNonProjectEditing
- All Implemented Interfaces:
com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension
public class AllowNonProjectEditing
extends Object
implements com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.intellij.openapi.util.Key<Boolean>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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisWritable(@NotNull com.intellij.openapi.vfs.VirtualFile file) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension
isNotWritable
-
Field Details
-
ALLOW_NON_PROJECT_EDITING
Prevents the dialog "Non-Projects File Protection" when editing files that do not belong the the current project.
-
-
Constructor Details
-
AllowNonProjectEditing
public AllowNonProjectEditing()
-
-
Method Details
-
isWritable
public boolean isWritable(@NotNull @NotNull com.intellij.openapi.vfs.VirtualFile file) - Specified by:
isWritablein interfacecom.intellij.openapi.fileEditor.impl.NonProjectFileWritingAccessExtension
-