Community
Participate
Working Groups
Build Identifier: 20090619-0625 When there are several grouped elements into a GMF group, when you try to move the whole group it works fine, but if you try to move only one element of the group, the behaviour is not correct: the element is not moved correctly. I have implemented a new behavior that looks nicer and works properly. I have an editor that it's an Sketcher, so the group of elements is very important. We have an element in the metamodel representing a WidgetGroup, that can group several Widgets. When an element of any group is selected, the other elements of the group are highlighted, placing every Widget into a blue colored rectangle. When you move this element, all the elements of the group are moved too; if you move this element pressing SHIFT key, only this selected element is moved. I attach you a picture showing results of this Group, I think a similar implementation for the GMF group should be a great idea. Reproducible: Always Steps to Reproduce: 1. Group several Nodes. 2. Try to move one grouped Node
Created attachment 186901 [details] 3 pictures showing the group There are 3 pictures: - One without selecting any Widget. - One selecting the 'Code' Label, that automatically highlight the 2 TextBoxes grouped with this label. - One selecting the 'Name' Label, that automatically highlight the TextBox grouped with this label.