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- (org.eclipse.core.resources.IFile file) File has been added.- void- onFileChanged- (org.eclipse.core.resources.IFile file, int flags) File has been changed (markers, contents, etc).- void- onFileMoved- (org.eclipse.core.resources.IFile newFile, org.eclipse.core.resources.IFile oldFile) File has been moved.- void- onFileRemoved- (org.eclipse.core.resources.IFile file) File has been removed.- void- onFolderAdded- (org.eclipse.core.resources.IFolder folder) Folder has been added.- void- onFolderMoved- (org.eclipse.core.resources.IFolder newFolder, org.eclipse.core.resources.IFolder oldFolder) Folder has been moved.- void- onFolderRemoved- (org.eclipse.core.resources.IFolder folder) Folder has been removed.
- Method Details- onFileAddedvoid onFileAdded- (org.eclipse.core.resources.IFile file) throws org.eclipse.core.runtime.CoreException File has been added.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- file- The file.
- Throws:
- org.eclipse.core.runtime.CoreException- For failures.
 
- onFileMovedvoid onFileMoved- (org.eclipse.core.resources.IFile newFile, org.eclipse.core.resources.IFile oldFile) throws org.eclipse.core.runtime.CoreException File 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:
- org.eclipse.core.runtime.CoreException- For failures.
 
- onFileChangedvoid onFileChanged- (org.eclipse.core.resources.IFile file, int flags) throws org.eclipse.core.runtime.CoreException File 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:
- org.eclipse.core.runtime.CoreException- For failures.
 
- onFileRemovedvoid onFileRemoved- (org.eclipse.core.resources.IFile file) throws org.eclipse.core.runtime.CoreException File has been removed.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- file- The file.
- Throws:
- org.eclipse.core.runtime.CoreException- For failures.
 
- onFolderAddedvoid onFolderAdded- (org.eclipse.core.resources.IFolder folder) throws org.eclipse.core.runtime.CoreException Folder has been added.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- folder- The folder.
- Throws:
- org.eclipse.core.runtime.CoreException- For failures.
 
- onFolderMovedvoid onFolderMoved- (org.eclipse.core.resources.IFolder newFolder, org.eclipse.core.resources.IFolder oldFolder) throws org.eclipse.core.runtime.CoreException Folder 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:
- org.eclipse.core.runtime.CoreException- For failures.
 
- onFolderRemovedvoid onFolderRemoved- (org.eclipse.core.resources.IFolder folder) throws org.eclipse.core.runtime.CoreException Folder has been removed.- Subclasses should override to process the event, no need to call the - supermethod.- Parameters:
- folder- The folder.
- Throws:
- org.eclipse.core.runtime.CoreException- For failures.