Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 355943 - [SysML Internal Block Diagram] Can't change what parts of a part label are to be displayed for a part on an IBD
Summary: [SysML Internal Block Diagram] Can't change what parts of a part label are to...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 348655 (view as bug list)
Depends on: 356276
Blocks:
  Show dependency tree
 
Reported: 2011-08-26 08:40 EDT by Alain Le Guennec CLA
Modified: 2011-09-02 04:05 EDT (History)
2 users (show)

See Also:


Attachments
Mask support. (42.79 KB, patch)
2011-08-31 03:01 EDT, Yann Tanguy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***