Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 456341

Summary: RepresentationNavigationDescription.label should be used in displayed menus instead of its name/id
Product: [Modeling] Sirius Reporter: Pierre-Charles David <pierre-charles.david>
Component: DiagramAssignee: Maxime Porhel <maxime.porhel>
Status: CLOSED FIXED QA Contact: Maxime Porhel <maxime.porhel>
Severity: normal    
Priority: P3 CC: belqassim.djafer, esteban.dugueperoux, jessy.mallet, laurent.redor, maxime.porhel
Version: 1.0.1Keywords: triaged
Target Milestone: 2.0.3   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Bug Depends on: 447696    
Bug Blocks:    

Description Pierre-Charles David CLA 2014-12-30 08:17:39 EST
+++ This bug was initially created as a clone of Bug #447696 +++

. Create or open a VSM with one table, one tree and one table descriptions. 
. Add and complete one instance of each Table/Tree/DiagramNavigationDescription
. Create a diagram with an element on which you can see the navigation menu

The name/id is used to build the menu: the label should be used isntead. 

See org.eclipse.sirius.diagram.ui.tools.internal.menu.OpenMenuContribution.buildOpenRepresentationActions(IMenuManager, IInterpreter, RepresentationNavigationDescription, DRepresentationElement, Session, EditPart, TransactionalEditingDomain) on master and NavigateToMenuContribution on v1.0.x branch.
Comment 1 Pierre-Charles David CLA 2014-12-30 08:18:00 EST
Cloned from bug #447696 to backport into Sirius 2.0.3.
Comment 2 Esteban DUGUEPEROUX CLA 2015-01-15 04:13:42 EST
Merged as 76fc2c2d264d4dce5d3683d4b279dbf0daa573b7
Comment 3 Jessy Mallet CLA 2015-01-20 04:05:52 EST
Validated on Sirius Stable pre-2.0.3 (2.0.3-S20150116-162634)
Comment 4 Maxime Porhel CLA 2015-01-22 10:03:26 EST
Available in Sirius 2.0.3.