Bug 436775 - Provide a show label action to the tabbar
Summary: Provide a show label action to the tabbar
Status: NEW
Alias: None
Product: Sirius
Classification: Modeling
Component: Diagram (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Windows NT
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2014-06-06 04:28 EDT by Maxime Porhel CLA
Modified: 2014-06-06 04:45 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Porhel CLA 2014-06-06 04:28:26 EDT
When the user clic on the tabbar hide label action, the action is disabled and even not visible when the user select an element with an hidden label. 

I think he should have the possibility to show the label from the tabbar. 

I see two solutions: 
 . like Pin/Unpin, we could provide two actions in the tabbar: hide label and show label
 . a better solution would be to change the "hide label action" into a Show/Hide label action: when this feature is available for a DDiagramElement, the action is visible in the tabbar, but its label/icon/toggle state depends on the label visibility.
Comment 1 Maxime Porhel CLA 2014-06-06 04:45:36 EDT
Steps to reproduce:
* Open a session on an ecore model (with the sample Design viewpoint)
* Create two EClass
* Create an EReference
* Select the created edge and hide the label from the tabbar
* Select the diagram
* Re-select the edge
> We should add a Show label action

This also true for (bordered) Node with a border label position