Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 315370 - [Move to EMF Facet][Facet Editor] Focus on properties view
Summary: [Move to EMF Facet][Facet Editor] Focus on properties view
Status: NEW
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.8.0   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 06:10 EDT by Nicolas Guyomar CLA
Modified: 2011-09-26 11:25 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Guyomar CLA 2010-06-02 06:10:52 EDT
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
Comment 1 Nicolas Bros CLA 2010-06-02 06:28:11 EDT
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?
Comment 2 Nicolas Guyomar CLA 2010-06-02 08:00:57 EDT
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
Comment 3 Gregoire Dupe CLA 2010-11-18 08:30:56 EST
May have to be solved in EMF Facet => P4.