Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2013-06-27 11:25:00 -0400
committerSteffen Pingel2013-06-28 08:49:17 -0400
commit41bfa30a421f1051ef38c4946eb31ecd253b2226 (patch)
treedc3109bc38013136e7e95d4dfc6b497a27f713f0 /org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal
parent7d54bbdcace41210385cab6463fae1f096231866 (diff)
downloadorg.eclipse.mylyn.tasks-41bfa30a421f1051ef38c4946eb31ecd253b2226.tar.gz
org.eclipse.mylyn.tasks-41bfa30a421f1051ef38c4946eb31ecd253b2226.tar.xz
org.eclipse.mylyn.tasks-41bfa30a421f1051ef38c4946eb31ecd253b2226.zip
408511: [api] add support for contributing UI and branding at runtime
Change-Id: I33c608dad60ee5d979e2ddd5c5cde4c386519610 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=408511
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/util/RepositoryConnectorExtensionReader.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/util/RepositoryConnectorExtensionReader.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/util/RepositoryConnectorExtensionReader.java
index 2137fbf98..3523a502a 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/util/RepositoryConnectorExtensionReader.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/internal/tasks/core/util/RepositoryConnectorExtensionReader.java
@@ -208,6 +208,8 @@ public class RepositoryConnectorExtensionReader {
private final List<ConnectorFactory> factories = new ArrayList<ConnectorFactory>();
+ private final List<RepositoryConnectorDescriptor> descriptors = new ArrayList<RepositoryConnectorDescriptor>();
+
private MultiStatus result;
public RepositoryConnectorExtensionReader(TaskListExternalizer taskListExternalizer,
@@ -267,6 +269,7 @@ public class RepositoryConnectorExtensionReader {
factories.add(new ConnectorFactory(descriptor, element.getContributor().getName()));
}
}
+ RepositoryConnectorExtensionReader.this.descriptors.addAll(descriptors);
}
@Override
@@ -380,6 +383,10 @@ public class RepositoryConnectorExtensionReader {
list.add(descriptor);
}
+ public List<RepositoryConnectorDescriptor> getDescriptors() {
+ return new ArrayList<RepositoryConnectorDescriptor>(descriptors);
+ }
+
public Set<String> getDisabledContributors() {
return new HashSet<String>(disabledContributors);
}

Back to the top