Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358871 - [Properties View] hide name and visibility on multi selection
Summary: [Properties View] hide name and visibility on multi selection
Status: CLOSED WORKSFORME
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:
Depends on:
Blocks:
 
Reported: 2011-09-26 07:21 EDT by Raphael Faudou CLA
Modified: 2019-08-09 08:39 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Faudou CLA 2011-09-26 07:21:34 EDT
On a composite diagram we sometimes want to show a large number of properties/Parts to illustrate interal communications. But generally we dot care about the name and prefer give focus on type only.
It would be nice to get the ability to hide name and visibility on multi selection. 
Currently you must select the label and get in appearance to hide those name and visibility and you must do it for each node.
Comment 1 Camille Letavernier CLA 2011-09-26 08:07:40 EDT
I can fix that. However, from a Composite Diagram, it seems you cannot select more than one Property Label, as the label is contained in the property (And you cannot do a multi-selection from different GMF containers).

So, it will work from a class diagram for example, but I think the composite diagram will need to be changed to support this feature. A solution could be to add the "MaskManagedLabelPolicy" on the whole property edit part (Instead of just it's label edit part).

So, three fixes needed here :

- The IntegerMask widget does not support correctly the multi-selection (Except in the case all elements have the same value)
- The LabelCustomizationMaskProvider implementation does not support the multi-selection
- The Composite Diagram does not seem to support the multi-selection of Property's label

I will handle the first two problems ; Patrick should check the last one.
Comment 2 Camille Letavernier CLA 2011-09-28 10:11:22 EDT
This is now possible to edit the label display from a multi-selection.

However, the widget still doesn't handle correctly the case where different values are set for different properties (For example, if a property displays its name and visibility, and another one displays its type, the widget won't check any checkbox. However, if the two properties have the same label display, the checkboxes will be correctly checked).

Done in r5611 (Branch 0.8.X)
Merged to the trunk in r5613