Community
Participate
Working Groups
Hi, When I create a FacetSet, I would found very handy that each time I create a new child (Right Click -> New Child -> Facet/Facet Att/Facet Ref etc ..) the focus is set to the properties view, ready to type the name of the child. It would be like creating a new file, you could start typing the name as soon as you create a facet. Regards Nicolas
I would find it disturbing to focus a different view as a result of clicking "New Child" (no other Eclipse editor does this as far as I know). Since when you create a child, it becomes focused in the editor, I think that if you could open/focus the properties view by pressing <Enter> for example, that would be just as convenient (since you're going to use the keyboard to type the name anyway). What do you think?
You are right for the fact that no other Eclipse editor does that. Concerning your proposed solution, how is the user going to be aware of the shortcut <Enter> ? What I was thinking was to stick to the usual behaviour of file creation to remove the extra step between creation and naming. Maybe this is an EMF restriction (I had a look at the UML editor and it has the same behaviour as the MoDisco one), but is there a way the facet editor could be directly editable? This way we could name directly a child in it at his creation. If not, I'm not sure implementing the shortcut <Enter> is worth it. Because a user could hit <Enter> even when he does not want to edit the facet name, it could become annoying too. Nicolas
May have to be solved in EMF Facet => P4.