Package com.iizigo.project
Interface IFolderFileChangeListener
- All Known Implementing Classes:
- FileChangesCollection,- JavaManager
 - public interface IFolderFileChangeListenerThe change listener for folders and files.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Instance Methods Abstract Methods - Modifier and Type - Method - Description - 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 Detail- onFileAdded- void onFileAdded(org.eclipse.core.resources.IFile file) throws org.eclipse.core.runtime.CoreExceptionFile 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.
 
 - onFileMoved- void onFileMoved(org.eclipse.core.resources.IFile newFile, org.eclipse.core.resources.IFile oldFile) throws org.eclipse.core.runtime.CoreExceptionFile 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.
 
 - onFileChanged- void onFileChanged(org.eclipse.core.resources.IFile file, int flags) throws org.eclipse.core.runtime.CoreExceptionFile 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.
 
 - onFileRemoved- void onFileRemoved(org.eclipse.core.resources.IFile file) throws org.eclipse.core.runtime.CoreExceptionFile 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.
 
 - onFolderAdded- void onFolderAdded(org.eclipse.core.resources.IFolder folder) throws org.eclipse.core.runtime.CoreExceptionFolder 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.
 
 - onFolderMoved- void onFolderMoved(org.eclipse.core.resources.IFolder newFolder, org.eclipse.core.resources.IFolder oldFolder) throws org.eclipse.core.runtime.CoreExceptionFolder 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.
 
 - onFolderRemoved- void onFolderRemoved(org.eclipse.core.resources.IFolder folder) throws org.eclipse.core.runtime.CoreExceptionFolder 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.