From 13eae9635eec680ec415ef66dd3b3752766c04f9 Mon Sep 17 00:00:00 2001 From: Vincent Lorenzo Date: Wed, 26 Jan 2022 17:28:25 +0100 Subject: Bug 577822 - [Diagram][Menu] The menu declared for Papyrus GMF Diagram are also visible/active on Sirius Diagram and it should not - Hide the menu - Hide the toolbar - the visibleWhen condition is done on selection in order to be properly refreshed Change-Id: Ibf6fc1561c47d98bcd90941d4a61b62285d47b41 Signed-off-by: Vincent Lorenzo --- .../META-INF/MANIFEST.MF | 2 +- .../plugin.xml | 195 ++++++++++++--------- .../org.eclipse.papyrus.uml.diagram.menu/pom.xml | 2 +- 3 files changed, 117 insertions(+), 82 deletions(-) (limited to 'plugins/uml') diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF index b566df1ad9f..c1f7c2bda2c 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF @@ -25,7 +25,7 @@ Require-Bundle: org.eclipse.core.expressions;bundle-version="[3.6.0,4.0.0)", org.eclipse.uml2.uml.editor;bundle-version="[5.5.0,6.0.0)" Bundle-Vendor: %providerName Bundle-ActivationPolicy: lazy -Bundle-Version: 3.0.0.qualifier +Bundle-Version: 3.0.100.qualifier Bundle-Localization: plugin Bundle-Name: %pluginName Bundle-Activator: org.eclipse.papyrus.uml.diagram.menu.Activator diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml index f5322b31ed9..e82ea048453 100755 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/plugin.xml @@ -32,12 +32,16 @@ label="&Diagram" tooltip="Diagram Menu"> - - - - + + + + + + @@ -207,12 +211,14 @@ tooltip="Line Style Action"> - - - - + + + + @@ -229,11 +235,13 @@ - - - + variable="selection"> + + + @@ -250,11 +258,13 @@ - - - + variable="selection"> + + + @@ -267,11 +277,13 @@ - - - + variable="selection"> + + + @@ -284,11 +296,13 @@ - - - + variable="selection"> + + + @@ -301,11 +315,13 @@ - - - + variable="selection"> + + + @@ -318,11 +334,13 @@ - - - + variable="selection"> + + + @@ -335,11 +353,13 @@ - - - + variable="selection"> + + + @@ -352,11 +372,13 @@ - - - + variable="selection"> + + + @@ -373,10 +395,12 @@ - - + variable="selection"> + + @@ -387,12 +411,14 @@ tooltip="Auto Size"> - - - - + + + + @@ -405,11 +431,13 @@ - - - + variable="selection"> + + + @@ -419,22 +447,29 @@ - - - - + + + + - - - - - + + + + + + + diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/pom.xml b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/pom.xml index d2ca70dad93..287d17915b8 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/pom.xml +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/pom.xml @@ -7,6 +7,6 @@ 0.0.1-SNAPSHOT org.eclipse.papyrus.uml.diagram.menu - 3.0.0-SNAPSHOT + 3.0.100-SNAPSHOT eclipse-plugin \ No newline at end of file -- cgit v1.2.3