Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Lorenzo2014-03-28 05:08:00 -0400
committerVincent Lorenzo2014-03-28 05:08:00 -0400
commit6cb80d114bdb57eb5e8461691c81bb2741cdf9c0 (patch)
tree0d262edc79c159cbfcbf05d79e022c051eb36063 /plugins
parent4f1af28df69e9ba9a6181f719367e8114cfface7 (diff)
downloadorg.eclipse.papyrus-6cb80d114bdb57eb5e8461691c81bb2741cdf9c0.tar.gz
org.eclipse.papyrus-6cb80d114bdb57eb5e8461691c81bb2741cdf9c0.tar.xz
org.eclipse.papyrus-6cb80d114bdb57eb5e8461691c81bb2741cdf9c0.zip
431009: [Usability] Import from file on the diagram context menu is never available
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431009 add a visible when condition for the import menu
Diffstat (limited to 'plugins')
-rw-r--r--plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/plugin.xml20
1 files changed, 20 insertions, 0 deletions
diff --git a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/plugin.xml b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/plugin.xml
index cc29f086118..01ad796de5e 100644
--- a/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/plugin.xml
+++ b/plugins/infra/nattable/org.eclipse.papyrus.infra.nattable/plugin.xml
@@ -15,6 +15,26 @@
<command
commandId="org.eclipse.papyrus.infra.nattable.import.command"
style="push">
+ <visibleWhen>
+ <and>
+ <with
+ variable="selection">
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.papyrus.infra.nattable.tester.isNattableWidget"
+ value="true">
+ </test>
+ </with>
+ <with
+ variable="selection">
+ <test
+ forcePluginActivation="true"
+ property="org.eclipse.papyrus.infra.nattable.tester.canInvertAxis"
+ value="true">
+ </test>
+ </with>
+ </and>
+ </visibleWhen>
</command>
<command
commandId="org.eclipse.papyrus.infra.nattable.invert.axis"

Back to the top