Package com.iizigo.project
Interface IFolderFileChangeListener
- All Known Implementing Classes:
- FileChangesCollection,- JavaManager
public interface IFolderFileChangeListener
The change listener for folders and files.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- onFileAdded- (IFile file) File has been added.- void- onFileChanged- (IFile file, int flags) File has been changed (markers, contents, etc).- void- onFileMoved- (IFile newFile, IFile oldFile) File has been moved.- void- onFileRemoved- (IFile file) File has been removed.- void- onFolderAdded- (IFolder folder) Folder has been added.- void- onFolderMoved- (IFolder newFolder, IFolder oldFolder) Folder has been moved.- void- onFolderRemoved- (IFolder folder) Folder has been removed.
- Method Details- onFileAddedFile has been added.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- file- The file.
- Throws:
- CoreException- For failures.
 
- onFileMovedFile has been moved.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- newFile- The new file.
- oldFile- The old file.
- Throws:
- CoreException- For failures.
 
- onFileChangedFile has been changed (markers, contents, etc).- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- file- The file.
- flags- How the file was changed, from IResourceDelta, where the important ones are CONTENT, MARKERS, ENCODING, LOCAL_CHANGE, DERIVED_CHANGED, REPLACED.
- Throws:
- CoreException- For failures.
 
- onFileRemovedFile has been removed.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- file- The file.
- Throws:
- CoreException- For failures.
 
- onFolderAddedFolder has been added.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- folder- The folder.
- Throws:
- CoreException- For failures.
 
- onFolderMovedFolder has been moved.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- newFolder- The new folder.
- oldFolder- The old folder.
- Throws:
- CoreException- For failures.
 
- onFolderRemovedFolder has been removed.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- folder- The folder.
- Throws:
- CoreException- For failures.