diff options
author | Tomasz Zarna | 2011-12-28 13:39:48 +0000 |
---|---|---|
committer | Tomasz Zarna | 2011-12-28 13:39:48 +0000 |
commit | a89781cb00b6f709af8636b8d0eeba47be6ee10b (patch) | |
tree | 52c6e19beea791213edb9a8ff74e57b6bbe71427 | |
parent | 618e0c9e25740294600cbfeb5275d43229a53e44 (diff) | |
download | eclipse.platform.team-a89781cb00b6f709af8636b8d0eeba47be6ee10b.tar.gz eclipse.platform.team-a89781cb00b6f709af8636b8d0eeba47be6ee10b.tar.xz eclipse.platform.team-a89781cb00b6f709af8636b8d0eeba47be6ee10b.zip |
Allow to specify values from BundleImporterDelegate declaratively, inv20111228-1339
plugin.xml -- fix supportedValues
bug: 366790
-rw-r--r-- | bundles/org.eclipse.team.core/src/org/eclipse/team/internal/core/importing/BundleImporterExtension.java | 4 |
1 files changed, 2 insertions, 2 deletions
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 f0201a961..fba820315 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 @@ public class BundleImporterExtension implements IBundleImporter { 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; |