Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErnesto Posse2017-07-14 19:40:03 +0000
committerErnesto Posse2017-07-14 19:47:24 +0000
commitdf1a0bc3a1119f6c0903ea9bbc3615cbd810a04d (patch)
treee0faf6305703c101790e1aa81759064b14fdd0e7
parentd576818d1aff29bd155cd20290001f94b41cf9dd (diff)
downloadorg.eclipse.papyrus-rt-df1a0bc3a1119f6c0903ea9bbc3615cbd810a04d.tar.gz
org.eclipse.papyrus-rt-df1a0bc3a1119f6c0903ea9bbc3615cbd810a04d.tar.xz
org.eclipse.papyrus-rt-df1a0bc3a1119f6c0903ea9bbc3615cbd810a04d.zip
Bug 519710: [textual] mark textual menu items as experimental
Change-Id: I0bbbe17e49b56974ecb0f9fb2d442841f09be3d7 Signed-off-by: Ernesto Posse <eposse@gmail.com>
-rw-r--r--plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.text.ui/plugin.xml27
-rw-r--r--plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.uml.ui/plugin.xml27
2 files changed, 36 insertions, 18 deletions
diff --git a/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.text.ui/plugin.xml b/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.text.ui/plugin.xml
index 7b22e246a..32d5de670 100644
--- a/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.text.ui/plugin.xml
+++ b/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.text.ui/plugin.xml
@@ -28,18 +28,27 @@
locationURI="popup:org.eclipse.ui.navigator.ProjectExplorer#PopupMenu?after=additions">
<command
commandId="org.eclipse.papyrusrt.xtumlrt.trans.to.text.ui.commands.model2textCommand"
- label="Transform Papyrus UML-RT model to textual model"
+ label="Transform Papyrus UML-RT model to textual model (experimental)"
style="push">
<visibleWhen
checkEnabled="false">
- <iterate>
- <adapt
- type="org.eclipse.core.resources.IResource">
- <test
- property="org.eclipse.core.resources.extension"
- value="uml">
- </test>
- </adapt>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <with
+ variable="selection">
+ <iterate
+ ifEmpty="false"
+ operator="or">
+ <adapt
+ type="org.eclipse.core.resources.IResource">
+ <test
+ property="org.eclipse.core.resources.extension"
+ value="uml">
+ </test>
+ </adapt>
+ </iterate>
+ </with>
</iterate>
</visibleWhen>
</command>
diff --git a/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.uml.ui/plugin.xml b/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.uml.ui/plugin.xml
index bce33ca0a..ac473df33 100644
--- a/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.uml.ui/plugin.xml
+++ b/plugins/xtumlrt/trans/org.eclipse.papyrusrt.xtumlrt.trans.to.uml.ui/plugin.xml
@@ -21,18 +21,27 @@
<command
commandId="org.eclipse.papyrusrt.xtumlrt.trans.to.uml.gen"
id="org.eclipse.papyrusrt.xtumlrt.trans.to.uml.menu.command"
- label="Generate Papyrus UML-RT model from textual model"
+ label="Generate Papyrus UML-RT model from textual model (experimental)"
style="push">
<visibleWhen
checkEnabled="false">
- <iterate>
- <adapt
- type="org.eclipse.core.resources.IResource">
- <test
- property="org.eclipse.core.resources.extension"
- value="umlrt">
- </test>
- </adapt>
+ <iterate
+ ifEmpty="false"
+ operator="and">
+ <with
+ variable="selection">
+ <iterate
+ ifEmpty="false"
+ operator="or">
+ <adapt
+ type="org.eclipse.core.resources.IResource">
+ <test
+ property="org.eclipse.core.resources.extension"
+ value="umlrt">
+ </test>
+ </adapt>
+ </iterate>
+ </with>
</iterate>
</visibleWhen>
</command>

Back to the top