Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 353595 - [Properties View] Inaccurate display with multiselection
Summary: [Properties View] Inaccurate display with multiselection
Status: NEW
Alias: None
Product: Papyrus
Classification: Modeling
Component: Views (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-02 10:32 EDT by Anne WALTER CLA
Modified: 2017-09-08 09:46 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne WALTER CLA 2011-08-02 10:32:49 EDT
Build Identifier: 

When several objects are selected, the display of boolean properties is not accurate: a value is displayed even in case the value is not the same for all selected objects, leading to confusion.

Reproducible: Always

Steps to Reproduce:
1.Create a FlowPort with isLeaf=true and isService=true
2.Create another FlowPort with isLeaf=false and isService=false
3.Select both FlowPorts
=> isLeaf is displayed as False and isService is displayed as True!
Comment 1 Anne WALTER CLA 2011-08-02 10:54:41 EDT
When several objects are selected, the display of enumerated properties is not
accurate: a value is displayed even in case the value is not the same for all
selected objects, leading to confusion.

Reproducible: Always

Steps to Reproduce:
1.Create a Package with visibility=protected
2.Create another Package with visibility=private
3.Select both Packages
=> visibility is displayed as public!
Comment 2 Camille Letavernier CLA 2011-09-02 11:17:21 EDT
Partially fixed in r5362 (Branch 0.8.X)
Merge to the trunk in r5363

- The (Single value) observables can now handle the case when there are more than one value
- The widgets need to be adapted to this behavior

The fix is available for the following widgets (Which are the ones currently used in Papyrus) :

- ReferenceDialog
- ReferenceCombo
- EnumCombo
- StringCombo
- BooleanRadio
- BooleanCheckbox

It still needs to be checked for the following ones :

- BooleanToggle
- BooleanCombo
- EnumRadio
- StringEditor
- IntegerEditor
- FloatEditor
- IntegerMask
- IntegerSpinner
- StringLabel
- StringFileSelector

It won't be available yet for Multi-value editors and ObservableLists.
Comment 3 Camille Letavernier CLA 2011-09-19 05:49:26 EDT
Done for the StringEditor in r5499 (Branch 0.8.X)
Merged to the trunk in r5500
Comment 4 Camille Letavernier CLA 2013-07-05 12:41:09 EDT
Still valid in 0.10.0