Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314405 - [Class diagram] Cannot selectively show compartments of a class
Summary: [Class diagram] Cannot selectively show compartments of a class
Status: RESOLVED DUPLICATE of bug 319223
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 03:59 EDT by Bran Selic CLA
Modified: 2011-04-05 05:07 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 Bran Selic CLA 2010-05-26 03:59:46 EDT
The only option for displaying classifier compartments seem to be "name compartment only" and "show all compartments". However, I would like to do this selectively, so that some classes may only show some compartments, on a class-by-class basis. For some, in addition to the name compartment, I may want to show only attributes, others only attributes and operations, etc. Furthermore, I want to have the choice in the preference dialog for class diagrams to give me a default set of visible compartments, which I can then override on an individual basis.

Perhaps this capability already exists, but it is not obvious how to do it from using the tool.
Comment 1 Vincent Lorenzo CLA 2011-04-05 05:07:22 EDT
The developments done for the bugs bug 319223 allow to resolve this problem : 
Now we have preferences to choose the compartments to display at the creation and we have an action to select the compartments to show/hide after the element creation.

*** This bug has been marked as a duplicate of bug 319223 ***