Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-02-09 06:31:26 +0000
committerspingel2011-02-09 06:31:26 +0000
commit81054e3f0df2c6d210450e2613b740aad87a935e (patch)
tree35045ff81bed411dbee4ba17a992873f4487140e /org.eclipse.mylyn.tasks.ui/plugin.xml
parent40a124182f4d13d7cfa672e28a810bb270f2c5f8 (diff)
downloadorg.eclipse.mylyn.tasks-81054e3f0df2c6d210450e2613b740aad87a935e.tar.gz
org.eclipse.mylyn.tasks-81054e3f0df2c6d210450e2613b740aad87a935e.tar.xz
org.eclipse.mylyn.tasks-81054e3f0df2c6d210450e2613b740aad87a935e.zip
NEW - bug 325005: support deleting task repository from the team repositories view
https://bugs.eclipse.org/bugs/show_bug.cgi?id=325005
Diffstat (limited to 'org.eclipse.mylyn.tasks.ui/plugin.xml')
-rw-r--r--org.eclipse.mylyn.tasks.ui/plugin.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/plugin.xml b/org.eclipse.mylyn.tasks.ui/plugin.xml
index 19e5c7e90..99db16c58 100644
--- a/org.eclipse.mylyn.tasks.ui/plugin.xml
+++ b/org.eclipse.mylyn.tasks.ui/plugin.xml
@@ -2014,6 +2014,34 @@
id="org.eclipse.mylyn.tasks.ui.wizard.NewTaskRepository">
</primaryWizard>
</extension>
+ <extension
+ point="org.eclipse.ui.handlers">
+ <handler
+ class="org.eclipse.mylyn.internal.tasks.ui.commands.DeleteTaskRepositoryHandler"
+ commandId="org.eclipse.ui.edit.delete">
+ <activeWhen>
+ <and>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.mylyn.commons.team.navigator.Repositories">
+ </equals>
+ </with>
+ <count
+ value="1">
+ </count>
+ <iterate>
+ <and>
+ <instanceof
+ value="org.eclipse.mylyn.tasks.core.TaskRepository">
+ </instanceof>
+ </and>
+ </iterate>
+ </and>
+ </activeWhen>
+ </handler>
+ </extension>
+
<!--
<extension
point="org.eclipse.mylyn.commons.notifications.notifications">

Back to the top