Bug 188974

Summary: [RulersGrid] GEF alignment feature missing
Product: [Modeling] GMF-Runtime Reporter: Richard Gronback <richard.gronback>
Component: GeneralAssignee: Carson Li <carson_li>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, crevells, dimzzy
Version: 2.0Keywords: contributed
Target Milestone: 2.1   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Proposed Patch none

Description Richard Gronback CLA 2007-05-24 12:40:12 EDT
The blue "laser lines" used with GEF's snap to geometry feature seems to be absent in the GMF runtime.  Or, is there some trick to enabling it?
Comment 1 Anthony Hunter CLA 2007-05-24 13:58:05 EDT
Did you add a guide first to the ruler? These "laser lines" appear when you turn on guides.
Comment 2 Anthony Hunter CLA 2007-05-24 17:02:46 EDT
I am mistaken.

The GMF Runtime supports the red "laser lines" that appear when you turn on a guide.

The blue "laser lines" used to align independent of the guides are not supported by the runtime.

Not sure why but we should fix.
Comment 3 Carson Li CLA 2007-12-07 12:27:40 EST
Created attachment 84755 [details]
Proposed Patch

The patch attached enables snap to geometry for gmf, mainly including fixes that compensate for hi-metric, compartments, and group edit parts.  the behavior is to be identical to gef, with the exception that edit parts snapping also works inside compartments.

one of the main things to notice is that the edit parts you can snap to are limited to the level of hierarchy. for example, edit parts can only snap to other edit parts inside the same compartment.
Comment 4 Cherie Revells CLA 2007-12-11 10:18:16 EST
Contributed patch...
[188974] gmf_head crevells 071211 [RulersGrid] GEF alignment feature missing 
Contributed by:  Carson Li
Comment 5 Richard Gronback CLA 2008-08-13 13:08:35 EDT
[target cleanup] 2.1 M4 was the original target milestone for this bug
Comment 6 Eclipse Webmaster CLA 2010-07-19 22:00:16 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime was the original product and component for this bug