Community
Participate
Working Groups
Created attachment 272788 [details] Plugin Projects In accordance to the discussion in the forum (https://www.eclipse.org/forums/index.php/m/1768673/#msg_1768673) I created this bug. Description and Steps to reproduce Imagine a class diagram on which some classes with their attributes and operations are shown. When you do a right click on the diagram you can select "Show/Hide" from the menu. This will open a dialog with a tree viewer that lists all elements (and their children) shown on the diagram. In contrast to the usual Eclipse behavior, if you select/deselect a parent element not all its child elements are selected/deselected. System Information: - Eclipse Mars 2 (4.5.2) - Sirius 5.1.0 - Xtext 2.13 - Windows 64, IntelCore I7-4700, 16GB RAM 1. Download sampleProject.zip, unzip and import into workspace 2. Start runtime 3. Download sampleRuntimeProject.zip, unzip and import into runtime workspace 4. Open /org.eclipse.xtext.example.domainmodel.sample/src/org/eclipse/xtext/example/domainmodel/sample/representation/representations.aird --> Company Entity Diagram 5. Right Click on the model and select "Show/Hide" from the menu. 6. Within the menu select or deselect and top-level element from the tree viewer ==> The child elements are not changed (selected/deselected) which IMHO is not the standard eclipse behavior.
Created attachment 272789 [details] Runtime Projects
Created attachment 272856 [details] project to reproduce
Thanks for the very precise report. It is appreciable. I attached a project to reproduce independent from Xtext for easier homologation. Steps to reproduce: 1- import the project 2- open the representation 3- click on show/hide button in tabbar 4- check/uncheck a root element containing children. KO: children are not checked/unchecked
Nice to see that you could reproduce the bug. Will the fix be part of the upcomming release?