Bug 286151 - Cannot create a shape inside a selected compartment with the keyboard
Summary: Cannot create a shape inside a selected compartment with the keyboard
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.2.1   Edit
Assignee: Cherie Revells CLA
QA Contact:
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2009-08-10 13:45 EDT by Cherie Revells CLA
Modified: 2010-07-19 12:30 EDT (History)
0 users

See Also:


Attachments
Suggested fix (2.09 KB, patch)
2009-08-10 13:45 EDT, Cherie Revells CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cherie Revells CLA 2009-08-10 13:45:59 EDT
Created attachment 143934 [details]
Suggested fix

It is not possible to create a shape using the palette inside a selected compartment on the diagram.  The new shape always appears on the diagram.

GEF's solution is to use copy/paste on a palette item, but in GMF we use the Enter key.
Comment 1 Cherie Revells CLA 2009-08-10 15:58:23 EDT
Committed to R2_2_Maintenance and HEAD.
Comment 2 Cherie Revells CLA 2009-09-24 15:59:06 EDT
I have to revert this code.  As a result, it makes it too difficult for a user to add multiple shapes to a diagram using the ENTER key.  Each time a new shape is added, the shape gets selected, and thus the selection needs to be changed prior to adding another shape.  

I think the client needs to handle this in their code.  At the GMF level, we can't make assumptions about what should be the target container for the new shape.
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:30:09 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Diagram was the original product and component for this bug