Hi 2018-04-22 17:19 GMT+02:00 Hilaire <hilaire@drgeo.eu>:
Denis,
Here is my experience on that:
1. I did not expect the trait user radio button, so I did not look at it.
2. However I request the contextual menu over the trait and expect something to see its users, and I get the menu entry "Class ref.", and went there.
Other user opinion may be needed, but from my POV 1. is uneeded, 2. "Class ref." should be replaced by "Users".
Traits are normal classes. They can be used directly in code. It is not common practice but I saw such code. But I am wondering that extra radio button is not intuitive solution for you. It is placed nearly Flat/Hier options because it is another kind of class relationship. To me it is consistent to access it in same way like "class->superclass" relationship. And there is another option "Traits" for classes which uses traits. And notice that we do not show subclasses of class in the result of "Class refs" query.
It will make your UI more consistent and predictable to the end user.
Hilaire
Le 22/04/2018 à 12:45, Denis Kudriashov a écrit :
Hi.
When you select trait new hierarchy mode appears: trait users.
-- Dr. Geo http://drgeo.eu