Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2014-01-06 14:00:36 +0000
committerMarkus Tiede2014-01-06 14:00:36 +0000
commit6c2c1b461666168652e51bb4284d81f12e8193af (patch)
treef1ddf78f5a04f141cee05d50e87865fd956c013a /org.eclipse.jubula.client.alm.mylyn.ui/plugin.xml
parent51bee61090667503f2ace8ae1f5224e1f1abc301 (diff)
downloadorg.eclipse.jubula.core-6c2c1b461666168652e51bb4284d81f12e8193af.tar.gz
org.eclipse.jubula.core-6c2c1b461666168652e51bb4284d81f12e8193af.tar.xz
org.eclipse.jubula.core-6c2c1b461666168652e51bb4284d81f12e8193af.zip
Sprint task - report to repository after testexec execution - part 1: database changes; UI integration; minor refactoring
Diffstat (limited to 'org.eclipse.jubula.client.alm.mylyn.ui/plugin.xml')
-rw-r--r--org.eclipse.jubula.client.alm.mylyn.ui/plugin.xml41
1 files changed, 39 insertions, 2 deletions
diff --git a/org.eclipse.jubula.client.alm.mylyn.ui/plugin.xml b/org.eclipse.jubula.client.alm.mylyn.ui/plugin.xml
index 9385fc1a8..4dc2e553e 100644
--- a/org.eclipse.jubula.client.alm.mylyn.ui/plugin.xml
+++ b/org.eclipse.jubula.client.alm.mylyn.ui/plugin.xml
@@ -24,6 +24,11 @@
id="org.eclipse.jubula.client.alm.ui.commands.openTaskForNodeCommand"
name="Mylyn Task Editor">
</command>
+ <command
+ categoryId="org.eclipse.jubula.client.alm.ui.commands.category"
+ id="org.eclipse.jubula.client.alm.ui.commands.reportResults"
+ name="Report to ALM">
+ </command>
</extension>
<extension
point="org.eclipse.ui.handlers">
@@ -32,6 +37,20 @@
commandId="org.eclipse.jubula.client.alm.ui.commands.createTaskCommand">
</handler>
<handler
+ class="org.eclipse.jubula.client.alm.mylyn.ui.handler.ReportToAlmHandler"
+ commandId="org.eclipse.jubula.client.alm.ui.commands.reportResults">
+ <enabledWhen>
+ <and>
+ <iterate ifEmpty="false" operator="or">
+ <and>
+ <instanceof value="org.eclipse.jubula.client.core.model.ITestResultSummaryPO" />
+ <test property="org.eclipse.jubula.client.ui.propertytester.TestResultSummary.hasPendingALMReport" />
+ </and>
+ </iterate>
+ </and>
+ </enabledWhen>
+ </handler>
+ <handler
class="org.eclipse.jubula.client.alm.mylyn.ui.handler.OpenTaskFromNodeHandler"
commandId="org.eclipse.jubula.client.alm.ui.commands.openTaskForNodeCommand">
<enabledWhen>
@@ -82,6 +101,17 @@
style="push">
</command>
</menuContribution>
+ <menuContribution locationURI="toolbar:org.eclipse.jubula.client.ui.views.TestresultSummaryView?after=additions">
+ <command commandId="org.eclipse.jubula.client.alm.ui.commands.reportResults"
+ style="push">
+ </command>
+ </menuContribution>
+ <menuContribution
+ locationURI="popup:org.eclipse.jubula.client.ui.views.TestresultSummaryView?after=additions">
+ <command
+ commandId="org.eclipse.jubula.client.alm.ui.commands.reportResults"
+ style="push" />
+ </menuContribution>
</extension>
<extension
point="org.eclipse.ui.commandImages">
@@ -93,6 +123,10 @@
commandId="org.eclipse.jubula.client.alm.ui.commands.openTaskForNodeCommand"
icon="icons/task-editor.gif">
</image>
+ <image
+ commandId="org.eclipse.jubula.client.alm.ui.commands.reportResults"
+ icon="icons/createTask.gif">
+ </image>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
@@ -134,10 +168,13 @@
location="BOTTOM_RIGHT"
state="true">
<enablement>
- <objectClass name="org.eclipse.jubula.client.core.model.INodePO" />
+ <or>
+ <objectClass name="org.eclipse.jubula.client.core.model.INodePO" />
+ <objectClass name="org.eclipse.jubula.client.core.model.TestResultNode" />
+ </or>
</enablement>
<description>
- Decorates Test Suites, Test Cases and Test Jobs with an icon indicating that they are connected to a remote Mylyn task.
+ Decorates Test Suites, Test Cases, Test Jobs and Test Result Nodes with an icon indicating that they are connected to a remote Mylyn task.
</description>
</decorator>
</extension>

Back to the top