Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2011-01-31 11:34:44 -0500
committerTomasz Zarna2011-01-31 11:34:44 -0500
commit3f5f2cdc2af9419620a2e0d51e30de2d0ae550cb (patch)
treeefd76549259a4d4ae069b7c9c49821840d1ffae5 /bundles/org.eclipse.team.core/src/org/eclipse/team
parentdc994b644a3b43757b23b1853559a585d6874493 (diff)
downloadeclipse.platform.team-3f5f2cdc2af9419620a2e0d51e30de2d0ae550cb.tar.gz
eclipse.platform.team-3f5f2cdc2af9419620a2e0d51e30de2d0ae550cb.tar.xz
eclipse.platform.team-3f5f2cdc2af9419620a2e0d51e30de2d0ae550cb.zip
bug 330490: API and UI to configure SCM URLs for import -- API comments
Diffstat (limited to 'bundles/org.eclipse.team.core/src/org/eclipse/team')
-rw-r--r--bundles/org.eclipse.team.core/src/org/eclipse/team/core/ScmUrlImportDescription.java23
1 files changed, 22 insertions, 1 deletions
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ScmUrlImportDescription.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ScmUrlImportDescription.java
index bfe889171..1b8e797b2 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ScmUrlImportDescription.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/core/ScmUrlImportDescription.java
@@ -14,6 +14,19 @@ import java.net.URI;
/**
+ * Describes how a bundle import will be executed. A bundle importer delegate
+ * creates bundle import descriptions when it validates bundle manifests for
+ * importing. The result, a set of bundle import descriptions is then passed to
+ * TeamUI, which basing on the info from the descriptions instantiate and
+ * initialize IScmUrlImportWizardPage pages. The pages can be used to alter the
+ * default import configuration e.g. for bundles stored in a CVS repository the
+ * user may want to check out HEAD rather than a specific version.
+ * <p>
+ * <strong>EXPERIMENTAL</strong>. This class has been added as part of a work in
+ * progress. There is no guarantee that this API will work or that it will
+ * remain the same. Please do not use this API without consulting with the Team
+ * team.
+ *
* @since 3.6
*/
public class ScmUrlImportDescription {
@@ -25,10 +38,18 @@ public class ScmUrlImportDescription {
this.project = project;
}
+ /**
+ * @return project name
+ */
public String getProject() {
return project;
}
+ /**
+ * SCM URL
+ *
+ * @return a string representation of the SCM URL
+ */
public String getUrl() {
return url;
}
@@ -43,7 +64,7 @@ public class ScmUrlImportDescription {
public Object getProperty(String plugin) {
// TODO Auto-generated method stub
- // called here: org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardFirstPage.configureBundleImportPages(IPluginModelBase[])
+ // called by: org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardFirstPage.configureBundleImportPages(IPluginModelBase[])
return null;
}
}

Back to the top