Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormegumi.telles2014-06-20 19:44:06 +0000
committerRoberto E. Escobar2014-08-28 23:58:38 +0000
commit87185d728b0628e8562b5046ec092eb44ff5ba8c (patch)
treed94ca2ed8fb56b2f600d43b69ac21eebf34bf536 /plugins/org.eclipse.osee.framework.ui.skynet/plugin.xml
parentd992c4cd9a7fa159fdae7abd551eb47e1b92dfe4 (diff)
downloadorg.eclipse.osee-87185d728b0628e8562b5046ec092eb44ff5ba8c.tar.gz
org.eclipse.osee-87185d728b0628e8562b5046ec092eb44ff5ba8c.tar.xz
org.eclipse.osee-87185d728b0628e8562b5046ec092eb44ff5ba8c.zip
bug[ats_ATS62821]: Fix missing Open/With menu items after editor reload
- Appropriately enabled the default open contribution item - Explicitly enable the appropriate command handlers which fixes the issue of missing open with menu items. Change-Id: Iebb27e92223294c393dae6f31d47547615d62bb8
Diffstat (limited to 'plugins/org.eclipse.osee.framework.ui.skynet/plugin.xml')
-rw-r--r--plugins/org.eclipse.osee.framework.ui.skynet/plugin.xml84
1 files changed, 68 insertions, 16 deletions
diff --git a/plugins/org.eclipse.osee.framework.ui.skynet/plugin.xml b/plugins/org.eclipse.osee.framework.ui.skynet/plugin.xml
index 0f9e265fb8a..d77df194b90 100644
--- a/plugins/org.eclipse.osee.framework.ui.skynet/plugin.xml
+++ b/plugins/org.eclipse.osee.framework.ui.skynet/plugin.xml
@@ -548,24 +548,76 @@
</activeWhen>
</handler>
<handler class="org.eclipse.osee.framework.ui.skynet.commandHandlers.OpenMassArtifactEditorHandler" commandId="org.eclipse.osee.framework.ui.skynet.OpenMassEditcommand">
- <enabledWhen>
- <with
- variable="selection">
- <count
- value="+">
- </count>
- </with>
- </enabledWhen>
+ <activeWhen>
+ <or>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.ats.world.WorldEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.ats.editor.TaskEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.ats.editor.SMAEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.search.ui.views.SearchView">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.framework.ui.skynet.results.ResultsEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.framework.ui.skynet.change.ChangeReportEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.framework.ui.skynet.widgets.xHistory.HistoryView">
+ </equals>
+ </with>
+ </or>
+ </activeWhen>
</handler>
<handler class="org.eclipse.osee.framework.ui.skynet.commandHandlers.OpenArtifactExplorerHandler" commandId="org.eclipse.osee.framework.ui.skynet.OpenArtifactExplorerCommand">
- <enabledWhen>
- <with
- variable="selection">
- <count
- value="1">
- </count>
- </with>
- </enabledWhen>
+ <activeWhen>
+ <or>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.ats.world.WorldEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.ats.editor.TaskEditor">
+ </equals>
+ </with>
+ <with
+ variable="activePartId">
+ <equals
+ value="org.eclipse.osee.ats.editor.SMAEditor">
+ </equals>
+ </with>
+ </or>
+ </activeWhen>
</handler>
<handler class="org.eclipse.osee.framework.ui.skynet.commandHandlers.OpenSkywalkerEditorHandler" commandId="org.eclipse.osee.framework.ui.skynet.skywalker.command">
<activeWhen>

Back to the top