Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351084 - [All diagrams] Compartment titles of diagrams created with Papyrus 0.7.x are shown and can not be disabled
Summary: [All diagrams] Compartment titles of diagrams created with Papyrus 0.7.x are ...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ansgar Radermacher CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-04 09:00 EDT by Ansgar Radermacher CLA
Modified: 2013-03-14 07:02 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 Ansgar Radermacher CLA 2011-07-04 09:00:56 EDT
Diagrams created with Papyrus version 0.7.x did not have the option to show compartment titles. The latter has been introduced in Papyrus 0.8.
When Papyrus 0.8 opens an existing diagram, all compartment titles are displayed. It is not possible to disable the display with the usual show/hide compartments dialog.
This is quite annoying, since the original diagrams did not have compartment titles and the added space might render the these badly readable (e.g. compartment titles displayed on top of port labels, additional scrollbars on the right).
Comment 1 Ansgar Radermacher CLA 2011-07-04 09:11:55 EDT
Analysis:
Existing compartments title visibility is evaluated via a "TitleStyle" attribute. This is not directly a boolean but a datatype with a visibility attribute. If it is null, GMF does not change the visibility of contained compartments, these remain visible by default.

The Show/Hide dialog has the default of not creating a check-box, if the title style is null.
Comment 2 Ansgar Radermacher CLA 2011-07-04 11:10:49 EDT
Fixed in SVN
Comment 3 Ansgar Radermacher CLA 2013-03-14 07:02:28 EDT
Forgot to close in July 2011