Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Public Member Functions | |
IntelliJWorkspaceImpl (Project project) | |
void | run (IWorkspaceRunnable procedure) throws IOException, OperationCanceledException |
void | run (IWorkspaceRunnable runnable, IResource[] resources) throws IOException, OperationCanceledException |
IProject | getProject (String projectName) |
IntelliJProjectImpl | getProjectForPath (String path) |
IPath | getLocation () |
void | addResourceListener (FileSystemChangeListener listener) |
void | removeResourceListener (FileSystemChangeListener listener) |
Static Public Attributes | |
static final Logger | LOG = Logger.getLogger(IntelliJWorkspaceImpl.class) |
de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.IntelliJWorkspaceImpl | ( | Project | project | ) |
void de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.addResourceListener | ( | FileSystemChangeListener | listener | ) |
IPath de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.getLocation | ( | ) |
Implements de.fu_berlin.inf.dpp.filesystem.IWorkspace.
IProject de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.getProject | ( | String | projectName | ) |
Implements de.fu_berlin.inf.dpp.filesystem.IWorkspace.
IntelliJProjectImpl de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.getProjectForPath | ( | String | path | ) |
Returns a handle to the project for the given path.
void de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.removeResourceListener | ( | FileSystemChangeListener | listener | ) |
void de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.run | ( | IWorkspaceRunnable | runnable, |
IResource[] | resources | ||
) | throws IOException, OperationCanceledException |
Executes the given runnable at the next opportunity. If supported parts of the workspace will be locked while the operation takes place. The parts to be lock are determined by the resources
argument, i.e the locked regions will start with the given resources and cascade down to all children of each resource. If the resources
argument is null
this call is equivalent to run(IWorkspaceRunnable)}.
runnable | |
resources |
IOException | |
OperationCanceledException |
Implements de.fu_berlin.inf.dpp.filesystem.IWorkspace.
void de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.run | ( | IWorkspaceRunnable | runnable | ) | throws IOException, OperationCanceledException |
Executes the given runnable at the next opportunity. If supported the whole workspace will be locked while the operation takes place, i.e other operations cannot be performed until this operation returns.
runnable |
IOException | |
OperationCanceledException |
Implements de.fu_berlin.inf.dpp.filesystem.IWorkspace.
final Logger de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.LOG = Logger.getLogger(IntelliJWorkspaceImpl.class) [static] |