public class ProjectFileEvent extends EventObject
source| Constructor and Description |
|---|
ProjectFileEvent(IProject project,
IAbstractFolder folder,
IAbstractFile file)
Constructs a new project file event object and initializes it.
|
| Modifier and Type | Method and Description |
|---|---|
IAbstractFile |
getAbstractFile()
Returns the file that was added or removed from the project.
|
IAbstractFolder |
getAbstractFolder()
Returns the involved folder or null if the file is directly in the
project folder.
|
IProject |
getProject()
Returns the involved project.
|
getSource, toStringpublic ProjectFileEvent(IProject project, IAbstractFolder folder, IAbstractFile file)
project - the involved projectfolder - the folder of the added or removed file or null if the file is
under no subfolderfile - the file that was added or removedpublic IProject getProject()
public IAbstractFolder getAbstractFolder()
public IAbstractFile getAbstractFile()