Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Muskalla2011-01-21 20:13:59 +0000
committerChris Aniszczyk2011-01-25 23:19:53 +0000
commita2b585173cc6bb01e48f8bc99ea72b7b3fe277b1 (patch)
tree5d462b669f06d3ea7272bdceeb5f5a58123f214a /org.eclipse.egit.mylyn.ui/plugin.xml
parent526e8486200877f79313f668a5d81889a41d0a8d (diff)
downloadegit-a2b585173cc6bb01e48f8bc99ea72b7b3fe277b1.tar.gz
egit-a2b585173cc6bb01e48f8bc99ea72b7b3fe277b1.tar.xz
egit-a2b585173cc6bb01e48f8bc99ea72b7b3fe277b1.zip
Support 'Open corresponding task' in History and Sync View
In order to quickly see a task for a commit, we need to provide an adapter between EGit and Mylyn. Change-Id: I2d265c8b894c1b45c2d4d9186f6696433acba95c Signed-off-by: Benjamin Muskalla <benjamin.muskalla@tasktop.com> Signed-off-by: Matthias Sohn <matthias.sohn@sap.com> Signed-off-by: Chris Aniszczyk <caniszczyk@gmail.com>
Diffstat (limited to 'org.eclipse.egit.mylyn.ui/plugin.xml')
-rw-r--r--org.eclipse.egit.mylyn.ui/plugin.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.egit.mylyn.ui/plugin.xml b/org.eclipse.egit.mylyn.ui/plugin.xml
index 18fa41622e..31a5d02c7c 100644
--- a/org.eclipse.egit.mylyn.ui/plugin.xml
+++ b/org.eclipse.egit.mylyn.ui/plugin.xml
@@ -7,4 +7,15 @@
class="org.eclipse.egit.internal.mylyn.ui.commit.MylynCommitMessageProvider">
</commitMessageProvider>
</extension>
+
+ <extension point="org.eclipse.core.runtime.adapters">
+ <factory adaptableType="org.eclipse.egit.ui.internal.history.SWTCommit"
+ class="org.eclipse.egit.internal.mylyn.ui.commit.TaskReferenceFactory">
+ <adapter type="org.eclipse.mylyn.team.ui.AbstractTaskReference"/>
+ </factory>
+ <factory adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit"
+ class="org.eclipse.egit.internal.mylyn.ui.commit.TaskReferenceFactory">
+ <adapter type="org.eclipse.mylyn.team.ui.AbstractTaskReference"/>
+ </factory>
+ </extension>
</plugin>

Back to the top