Show / Hide Dialog Automatic child selection [message #1766726] |
Mon, 26 June 2017 10:10  |
Eclipse User |
|
|
|
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. Is that a design decision or a bug?
System Information:
- Eclipse Mars 2 (4.5.2)
- Sirius 4.1.2
- Xtext 2.11
- 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.
Any help is much appreciated. I could also raise a bug if you like.
Cheers,
Hendrik
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.27660 seconds