Allow to specify values from BundleImporterDelegate declaratively, in
plugin.xml -- fix supportedValues
bug: 366790
diff --git a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/importing/BundleImporterExtension.java b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/importing/BundleImporterExtension.java
index f0201a9..fba8203 100644
--- a/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/importing/BundleImporterExtension.java
+++ b/bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/importing/BundleImporterExtension.java
@@ -63,10 +63,10 @@
private RepositoryProviderType providerType;
protected Set getSupportedValues() {
if (supportedValues == null) {
- IConfigurationElement[] supported = element.getChildren("supported"); //$NON-NLS-1$
+ IConfigurationElement[] supported = element.getChildren("supports"); //$NON-NLS-1$
supportedValues = new HashSet(supported.length);
for (int i = 0; i < supported.length; i++) {
- supportedValues.add(supported[i].getAttribute("value")); //$NON-NLS-1$
+ supportedValues.add(supported[i].getAttribute("prefix")); //$NON-NLS-1$
}
}
return supportedValues;