public interface IWorkspace extends IFileInterpreter
Modifier and Type | Method and Description |
---|---|
void |
addProject(IProject project)
Adds the given project to the workspace.
|
void |
addWorkspaceListener(IWorkspaceListener workspaceListener)
Adds the workspace listener to the workspace.
|
Iterator |
getProjectIterator()
Returns an iterator that is capable to iterate over all projects of the
workspace.
|
IProject[] |
getProjects()
Returns an array containing all projects of the workspace.
|
int |
getSize()
Returns the size of the workspace.
|
void |
removeProject(IProject project)
Removes the given project from the workspace.
|
void |
removeWorkspaceListener(IWorkspaceListener workspaceListener)
Removes the given workspace listener from the workspace.
|
void |
update()
Updates the workspace.
|
addFileInterpreterListener, getAbstractFile, getProvider, load, removeFileInterpreterListener, save
void addWorkspaceListener(IWorkspaceListener workspaceListener)
workspaceListener
- the workspace listener that should be added to the workspacevoid removeWorkspaceListener(IWorkspaceListener workspaceListener)
workspaceListener
- the listener that should be removed from the workspacevoid addProject(IProject project)
project
- the project that should be added to the workspacevoid removeProject(IProject project)
project
- the project to remove from the workspaceIProject[] getProjects()
Iterator getProjectIterator()
int getSize()
void update()