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

Bug 355943

Summary: [SysML Internal Block Diagram] Can't change what parts of a part label are to be displayed for a part on an IBD
Product: [Modeling] Papyrus Reporter: Alain Le Guennec <alain.leguennec>
Component: CoreAssignee: Project Inbox <mdt-papyrus-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse-bugzilla, yann.tanguy
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 356276    
Bug Blocks:    
Attachments:
Description Flags
Mask support. none

Description Alain Le Guennec CLA 2011-08-26 08:40:58 EDT
One cannot anymore change what parts of a part label are to be displayed for a part on an IBD.
It used to be possible to choose whether to display such or such part of the
label (e.g. the name, the type, the multiplicity, the visibility, etc).
Comment 1 Alain Le Guennec CLA 2011-08-26 08:41:40 EDT
Similar to bug #355870
Comment 2 Yann Tanguy CLA 2011-08-29 03:18:19 EDT
Possible in preference, the property page allowing this is not implemented yet for IBD and BDD.
Comment 3 Yann Tanguy CLA 2011-08-31 03:01:59 EDT
Created attachment 202478 [details]
Mask support.
Comment 4 Yann Tanguy CLA 2011-08-31 03:03:30 EDT
The patch attached is not functional yet, the masks button in appearance are currently hardcoded (instead of relying on the IMaskManagedLabelEditPolicy to get the available masks).
Comment 5 Yann Tanguy CLA 2011-08-31 10:42:32 EDT
Fixed in r5346 (0.8.1) and r5347 (trunk).

Also, a default label ("<empty label>") is now shown in case the user uncheck all masks in order to keep the label selectable in order to change masks in the future.
Another feature allows to completely hide a label (for link and border items).
Comment 6 Yann Tanguy CLA 2011-09-02 04:05:59 EDT
*** Bug 348655 has been marked as a duplicate of this bug. ***