public abstract class VirtualFileContentsChangedAdapter extends java.lang.Object implements VirtualFileListener
| Constructor and Description |
|---|
VirtualFileContentsChangedAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeContentsChange(VirtualFileEvent event)
Fired before the change of contents of a file is processed.
|
void |
beforeFileDeletion(VirtualFileEvent event)
Fired before the deletion of a file is processed.
|
void |
beforeFileMovement(VirtualFileMoveEvent event)
Fired before the movement of a file is processed.
|
void |
contentsChanged(VirtualFileEvent event)
Fired when the contents of a virtual file is changed.
|
void |
fileCopied(VirtualFileCopyEvent event)
Fired when a virtual file is copied from within the IDE.
|
void |
fileCreated(VirtualFileEvent event)
Fired when a virtual file is created.
|
void |
fileDeleted(VirtualFileEvent event)
Fired when a virtual file is deleted.
|
void |
fileMoved(VirtualFileMoveEvent event)
Fired when a virtual file is moved from within the IDE.
|
protected abstract void |
onBeforeFileChange(VirtualFile fileOrDirectory) |
protected abstract void |
onFileChange(VirtualFile fileOrDirectory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbeforePropertyChange, propertyChangedpublic void contentsChanged(VirtualFileEvent event)
VirtualFileListenercontentsChanged in interface VirtualFileListenerevent - the event object containing information about the change.public void fileCreated(VirtualFileEvent event)
VirtualFileListenerfileCreated in interface VirtualFileListenerevent - the event object containing information about the change.public void beforeFileDeletion(VirtualFileEvent event)
VirtualFileListenerbeforeFileDeletion in interface VirtualFileListenerevent - the event object containing information about the change.public void beforeFileMovement(VirtualFileMoveEvent event)
VirtualFileListenerbeforeFileMovement in interface VirtualFileListenerevent - the event object containing information about the change.public void fileMoved(VirtualFileMoveEvent event)
VirtualFileListenerfileMoved in interface VirtualFileListenerevent - the event object containing information about the change.public void fileCopied(VirtualFileCopyEvent event)
VirtualFileListenerfileCopied in interface VirtualFileListenerevent - the event object containing information about the change.protected abstract void onFileChange(VirtualFile fileOrDirectory)
protected abstract void onBeforeFileChange(VirtualFile fileOrDirectory)
public void fileDeleted(VirtualFileEvent event)
VirtualFileListenerfileDeleted in interface VirtualFileListenerevent - the event object containing information about the change.public void beforeContentsChange(VirtualFileEvent event)
VirtualFileListenerbeforeContentsChange in interface VirtualFileListenerevent - the event object containing information about the change.