public interface FileDocumentManagerListener
extends java.util.EventListener
AppTopics.FILE_DOCUMENT_SYNC
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<FileDocumentManagerListener> |
EP_NAME
There is a possible case that callback that listens for the events implied by the current interface needs to modify document
contents (e.g.
|
Modifier and Type | Method and Description |
---|---|
default void |
beforeAllDocumentsSaving()
Fired before processing FileDocumentManager.saveAllDocuments().
|
default void |
beforeDocumentSaving(Document document)
NOTE: Vetoing facility is deprecated in this listener implement
FileDocumentSynchronizationVetoer instead. |
default void |
beforeFileContentReload(VirtualFile file,
Document document)
NOTE: Vetoing facility is deprecated in this listener implement
FileDocumentSynchronizationVetoer instead. |
default void |
fileContentLoaded(VirtualFile file,
Document document) |
default void |
fileContentReloaded(VirtualFile file,
Document document) |
default void |
fileWithNoDocumentChanged(VirtualFile file) |
default void |
unsavedDocumentDropped(Document document) |
default void |
unsavedDocumentsDropped() |
static final ExtensionPointName<FileDocumentManagerListener> EP_NAME
default void beforeAllDocumentsSaving()
default void beforeDocumentSaving(Document document)
FileDocumentSynchronizationVetoer
instead.default void beforeFileContentReload(VirtualFile file, Document document)
FileDocumentSynchronizationVetoer
instead.default void fileWithNoDocumentChanged(VirtualFile file)
default void fileContentReloaded(VirtualFile file, Document document)
default void fileContentLoaded(VirtualFile file, Document document)
default void unsavedDocumentDropped(Document document)
default void unsavedDocumentsDropped()