Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Eclipse Adapter for accessing the Version Control System (Team Provider).
This adapter is capable of handling Eclipse org.eclipse.core.resources.IResource resources} and virtual DPP de.fu_berlin.inf.dpp.filesystem.IResource resources} simultaneously.
Implementation Note: Clients should only implement the abstract
methods rather than implementing the VCSProvider} interface.
de.fu_berlin.inf.dpp.vcs.VCSAdapter.VCSAdapter | ( | RepositoryProviderType | provider | ) |
abstract IProject de.fu_berlin.inf.dpp.vcs.VCSAdapter.checkoutProject | ( | String | newProjectName, |
FileList | fileList, | ||
IProgressMonitor | monitor | ||
) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
de.fu_berlin.inf.dpp.filesystem.IProject de.fu_berlin.inf.dpp.vcs.VCSAdapter.checkoutProject | ( | String | newProjectName, |
FileList | fileList, | ||
de.fu_berlin.inf.dpp.monitoring.IProgressMonitor | monitor | ||
) |
abstract void de.fu_berlin.inf.dpp.vcs.VCSAdapter.connect | ( | IProject | project, |
String | repositoryRoot, | ||
String | directory, | ||
IProgressMonitor | progress | ||
) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
void de.fu_berlin.inf.dpp.vcs.VCSAdapter.connect | ( | de.fu_berlin.inf.dpp.filesystem.IProject | project, |
String | repositoryRoot, | ||
String | directory, | ||
de.fu_berlin.inf.dpp.monitoring.IProgressMonitor | progress | ||
) |
abstract void de.fu_berlin.inf.dpp.vcs.VCSAdapter.disconnect | ( | IProject | project, |
boolean | deleteContent, | ||
IProgressMonitor | progress | ||
) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
void de.fu_berlin.inf.dpp.vcs.VCSAdapter.disconnect | ( | de.fu_berlin.inf.dpp.filesystem.IProject | project, |
boolean | deleteContent, | ||
de.fu_berlin.inf.dpp.monitoring.IProgressMonitor | progress | ||
) |
static VCSAdapter de.fu_berlin.inf.dpp.vcs.VCSAdapter.getAdapter | ( | String | identifier | ) | [static] |
Determine and instantiate the corresponding VCSAdapter for the provided identifier.
identifier |
static VCSAdapter de.fu_berlin.inf.dpp.vcs.VCSAdapter.getAdapter | ( | IProject | project | ) | [static] |
Determine the repository provider of the project and return the corresponding VCSAdapter. The method will return null
if the project is not under version control, or if no VCSAdapter
was found for the repository provider used.
project |
abstract VCSResourceInfo de.fu_berlin.inf.dpp.vcs.VCSAdapter.getCurrentResourceInfo | ( | IResource | resource | ) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
VCSResourceInfo de.fu_berlin.inf.dpp.vcs.VCSAdapter.getCurrentResourceInfo | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource | ) |
ProjectDeltaVisitor de.fu_berlin.inf.dpp.vcs.VCSAdapter.getProjectDeltaVisitor | ( | EditorManager | editorManager, |
ISarosSession | sarosSession, | ||
SharedProject | sharedProject | ||
) |
Reimplemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
String de.fu_berlin.inf.dpp.vcs.VCSAdapter.getProviderID | ( | IResource | resource | ) |
resource |
abstract String de.fu_berlin.inf.dpp.vcs.VCSAdapter.getRepositoryString | ( | IResource | resource | ) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
String de.fu_berlin.inf.dpp.vcs.VCSAdapter.getRepositoryString | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource | ) |
VCSResourceInfo de.fu_berlin.inf.dpp.vcs.VCSAdapter.getResourceInfo | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource | ) |
abstract VCSResourceInfo de.fu_berlin.inf.dpp.vcs.VCSAdapter.getResourceInfo | ( | IResource | resource | ) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
String de.fu_berlin.inf.dpp.vcs.VCSAdapter.getRevisionString | ( | IResource | resource | ) |
resource |
abstract VCSActivity de.fu_berlin.inf.dpp.vcs.VCSAdapter.getSwitchActivity | ( | ISarosSession | sarosSession, |
IResource | resource | ||
) | [pure virtual] |
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
abstract VCSActivity de.fu_berlin.inf.dpp.vcs.VCSAdapter.getUpdateActivity | ( | ISarosSession | sarosSession, |
IResource | resource | ||
) | [pure virtual] |
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
String de.fu_berlin.inf.dpp.vcs.VCSAdapter.getUrl | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource | ) |
abstract String de.fu_berlin.inf.dpp.vcs.VCSAdapter.getUrl | ( | IResource | resource | ) | [pure virtual] |
resource |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
abstract boolean de.fu_berlin.inf.dpp.vcs.VCSAdapter.hasLocalCache | ( | IProject | project | ) | [pure virtual] |
Returns true if there is a folder like e.g. SVN's .svn for the project. Such a folder might exists even when the project is not currently connected to the Team provider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
abstract boolean de.fu_berlin.inf.dpp.vcs.VCSAdapter.isInManagedProject | ( | IResource | resource | ) | [pure virtual] |
resource |
true
if the resource is in a project that's under VC. Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
abstract boolean de.fu_berlin.inf.dpp.vcs.VCSAdapter.isManaged | ( | IResource | resource | ) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
boolean de.fu_berlin.inf.dpp.vcs.VCSAdapter.isManaged | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource | ) |
void de.fu_berlin.inf.dpp.vcs.VCSAdapter.revert | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource | ) |
abstract void de.fu_berlin.inf.dpp.vcs.VCSAdapter.revert | ( | IResource | resource | ) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
void de.fu_berlin.inf.dpp.vcs.VCSAdapter.switch_ | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource, |
String | url, | ||
String | revision, | ||
de.fu_berlin.inf.dpp.monitoring.IProgressMonitor | monitor | ||
) |
abstract void de.fu_berlin.inf.dpp.vcs.VCSAdapter.switch_ | ( | IResource | resource, |
String | url, | ||
String | revision, | ||
IProgressMonitor | monitor | ||
) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
void de.fu_berlin.inf.dpp.vcs.VCSAdapter.undocumentedException | ( | Exception | e | ) | [protected] |
It is unclear under which circumstances this exception is thrown.
void de.fu_berlin.inf.dpp.vcs.VCSAdapter.update | ( | de.fu_berlin.inf.dpp.filesystem.IResource | resource, |
String | targetRevision, | ||
de.fu_berlin.inf.dpp.monitoring.IProgressMonitor | monitor | ||
) |
abstract void de.fu_berlin.inf.dpp.vcs.VCSAdapter.update | ( | IResource | resource, |
String | targetRevision, | ||
IProgressMonitor | monitor | ||
) | [pure virtual] |
Implements de.fu_berlin.inf.dpp.vcs.VCSProvider.
Implemented in de.fu_berlin.inf.dpp.vcs.SubclipseAdapter.
RepositoryProviderType de.fu_berlin.inf.dpp.vcs.VCSAdapter.provider [protected] |