public abstract class WritingAccessProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ProjectExtensionPointName<WritingAccessProvider> |
EP |
static ExtensionPointName<WritingAccessProvider> |
EP_NAME
Deprecated.
Use
EP |
Constructor and Description |
---|
WritingAccessProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getReadOnlyMessage() |
boolean |
isPotentiallyWritable(VirtualFile file) |
static boolean |
isPotentiallyWritable(VirtualFile file,
Project project) |
java.util.Collection<VirtualFile> |
requestWriting(java.util.Collection<? extends VirtualFile> files) |
java.util.Collection<VirtualFile> |
requestWriting(VirtualFile... files)
Deprecated.
|
@Deprecated public static final ExtensionPointName<WritingAccessProvider> EP_NAME
EP
public static final ProjectExtensionPointName<WritingAccessProvider> EP
public java.util.Collection<VirtualFile> requestWriting(java.util.Collection<? extends VirtualFile> files)
files
- files to be checkedpublic java.lang.String getReadOnlyMessage()
@Deprecated public java.util.Collection<VirtualFile> requestWriting(VirtualFile... files)
requestWriting(Collection)
public boolean isPotentiallyWritable(VirtualFile file)
public static boolean isPotentiallyWritable(VirtualFile file, Project project)