Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Macguire2003-02-04 22:06:07 +0000
committerKevin Macguire2003-02-04 22:06:07 +0000
commit5ab22102dd1e39953b149d3453b9d1be95c26e96 (patch)
treead30b87124d5f0f7087db45cb78f6c1b8689f506
parentcfcc37cf7932b8aa4243d251d3ef3c405f493131 (diff)
downloadeclipse.platform.team-5ab22102dd1e39953b149d3453b9d1be95c26e96.tar.gz
eclipse.platform.team-5ab22102dd1e39953b149d3453b9d1be95c26e96.tar.xz
eclipse.platform.team-5ab22102dd1e39953b149d3453b9d1be95c26e96.zip
*** empty log message ***
-rw-r--r--tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java53
1 files changed, 53 insertions, 0 deletions
diff --git a/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java
new file mode 100644
index 000000000..5a0d469a6
--- /dev/null
+++ b/tests/org.eclipse.team.tests.core/src/org/eclipse/team/tests/core/RepositoryProviderTypeBic.java
@@ -0,0 +1,53 @@
+package org.eclipse.team.tests.core;
+
+import java.io.File;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.team.core.ProjectSetCapability;
+import org.eclipse.team.core.RepositoryProviderType;
+import org.eclipse.team.core.TeamException;
+
+public class RepositoryProviderTypeBic extends RepositoryProviderType {
+ File createdFile;
+ /**
+ * @see org.eclipse.team.core.RepositoryProviderType#getProjectSetCapability()
+ */
+ public ProjectSetCapability getProjectSetCapability() {
+ return new ProjectSetCapability() {
+ public IProject[] addToWorkspace(
+ String[] referenceStrings,
+ String filename,
+ IPath root,
+ Object context,
+ IProgressMonitor monitor)
+ throws TeamException {
+ return null;
+ }
+
+ public void projectSetCreated(
+ File file,
+ IProgressMonitor monitor) {
+
+ createdFile = file;
+ }
+ };
+ }
+
+ /**
+ * @return File
+ */
+ public File getCreatedFile() {
+ return createdFile;
+ }
+
+ /**
+ * Sets the createdFile.
+ * @param createdFile The createdFile to set
+ */
+ public void setCreatedFile(File createdFile) {
+ this.createdFile = createdFile;
+ }
+
+}

Back to the top