Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363506

Summary: [SysML Block Definition Diagram] Confusion in management of properties (and derivatives) in show/hide content dialog
Product: [Modeling] Papyrus Reporter: Alain Le Guennec <alain.leguennec>
Component: CoreAssignee: Remi Schnekenburger <rschnekenburger>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse-bugzilla, yann.tanguy
Version: 0.8.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Alain Le Guennec CLA 2011-11-10 12:07:13 EST
The show/hide content dialog is limited when it comes to dealing with all kinds of properties (ports, parts, references, values) when the properties compartment is also visible.
In that case, there is no single appropriate compartment to display such properties (they could be put either in the general "properties" compartment or in the more specific corresponding compartment).
-The result of showing such properties is to put them in the general "properties" compartment, not in the more specific compartment, even if visible.
-The result of hiding such properties only hide them from the general "properties" compartment. If there were shown in other specific compartment, they are still shown there afterwards.

One possible way to disambiguate the situation would be to add the compartments as intermediary nodes in the tree, with all applicable elements underneath the compartment nodes (elements that can appear in several compartment would appear several time in the tree, so that one could choose precisely what to do).
Note that this is slightly similar in principle to bug #362991.
Comment 1 Yann Tanguy CLA 2011-11-14 07:20:11 EST
Also similar to bug #348650
Comment 2 Remi Schnekenburger CLA 2012-01-11 04:08:39 EST
fixed in r6581 in branch 0.8.X, bug fix put in trunk in r6695