Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl Class Reference
Inheritance diagram for de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl:
de.fu_berlin.inf.dpp.filesystem.IWorkspace

List of all members.

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)

Constructor & Destructor Documentation

de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.IntelliJWorkspaceImpl ( Project  project)

Member Function Documentation

void de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.addResourceListener ( FileSystemChangeListener  listener)
IPath de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.getLocation ( )
IProject de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.getProject ( String  projectName)
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)}.

Parameters:
runnable
resources
Exceptions:
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.

Parameters:
runnable
Exceptions:
IOException
OperationCanceledException

Implements de.fu_berlin.inf.dpp.filesystem.IWorkspace.


Member Data Documentation

final Logger de.fu_berlin.inf.dpp.intellij.project.filesystem.IntelliJWorkspaceImpl.LOG = Logger.getLogger(IntelliJWorkspaceImpl.class) [static]
 All Classes Namespaces Files Functions Variables Enumerations