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, wait
beforePropertyChange, propertyChanged
public void contentsChanged(VirtualFileEvent event)
VirtualFileListener
contentsChanged
in interface VirtualFileListener
event
- the event object containing information about the change.public void fileCreated(VirtualFileEvent event)
VirtualFileListener
fileCreated
in interface VirtualFileListener
event
- the event object containing information about the change.public void beforeFileDeletion(VirtualFileEvent event)
VirtualFileListener
beforeFileDeletion
in interface VirtualFileListener
event
- the event object containing information about the change.public void beforeFileMovement(VirtualFileMoveEvent event)
VirtualFileListener
beforeFileMovement
in interface VirtualFileListener
event
- the event object containing information about the change.public void fileMoved(VirtualFileMoveEvent event)
VirtualFileListener
fileMoved
in interface VirtualFileListener
event
- the event object containing information about the change.public void fileCopied(VirtualFileCopyEvent event)
VirtualFileListener
fileCopied
in interface VirtualFileListener
event
- 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)
VirtualFileListener
fileDeleted
in interface VirtualFileListener
event
- the event object containing information about the change.public void beforeContentsChange(VirtualFileEvent event)
VirtualFileListener
beforeContentsChange
in interface VirtualFileListener
event
- the event object containing information about the change.