public class WorkspaceEvent extends EventObject
source
Constructor and Description |
---|
WorkspaceEvent(IWorkspace workspace,
IProject project)
Constructs a new workspace file event object and initializes it.
|
Modifier and Type | Method and Description |
---|---|
IProject |
getProject()
Returns the project that was added or removed
|
IWorkspace |
getWorkspace()
Returns the workspace that is involved.
|
getSource, toString
public WorkspaceEvent(IWorkspace workspace, IProject project)
workspace
- the workspace in which the event occursproject
- the project that was added or removedpublic IWorkspace getWorkspace()
public IProject getProject()