public interface VirtualFileListener
extends java.util.EventListener
Modifier and Type | Method and Description |
---|---|
default void |
beforeContentsChange(VirtualFileEvent event)
Fired before the change of contents of a file is processed.
|
default void |
beforeFileDeletion(VirtualFileEvent event)
Fired before the deletion of a file is processed.
|
default void |
beforeFileMovement(VirtualFileMoveEvent event)
Fired before the movement of a file is processed.
|
default void |
beforePropertyChange(VirtualFilePropertyEvent event)
Fired before the change of a name or writable status of a file is processed.
|
default void |
contentsChanged(VirtualFileEvent event)
Fired when the contents of a virtual file is changed.
|
default void |
fileCopied(VirtualFileCopyEvent event)
Fired when a virtual file is copied from within the IDE.
|
default void |
fileCreated(VirtualFileEvent event)
Fired when a virtual file is created.
|
default void |
fileDeleted(VirtualFileEvent event)
Fired when a virtual file is deleted.
|
default void |
fileMoved(VirtualFileMoveEvent event)
Fired when a virtual file is moved from within the IDE.
|
default void |
propertyChanged(VirtualFilePropertyEvent event)
Fired when a virtual file is renamed from within the IDE, or its writable status is changed.
|
default void propertyChanged(VirtualFilePropertyEvent event)
fileCreated(VirtualFileEvent)
and fileDeleted(VirtualFileEvent)
events will be fired.event
- the event object containing information about the change.default void contentsChanged(VirtualFileEvent event)
event
- the event object containing information about the change.default void fileCreated(VirtualFileEvent event)
event
- the event object containing information about the change.default void fileDeleted(VirtualFileEvent event)
event
- the event object containing information about the change.default void fileMoved(VirtualFileMoveEvent event)
event
- the event object containing information about the change.default void fileCopied(VirtualFileCopyEvent event)
event
- the event object containing information about the change.default void beforePropertyChange(VirtualFilePropertyEvent event)
event
- the event object containing information about the change.default void beforeContentsChange(VirtualFileEvent event)
event
- the event object containing information about the change.default void beforeFileDeletion(VirtualFileEvent event)
event
- the event object containing information about the change.default void beforeFileMovement(VirtualFileMoveEvent event)
event
- the event object containing information about the change.