Bug 123325

Summary: Restore defaults on Rulers & Grid Properties tab does not restore Snap to Grid
Product: [Modeling] GMF-Runtime Reporter: Cherie Revells <crevells>
Component: GeneralAssignee: Tom Macdougall <tmacdoug>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P1 Keywords: contributed, test
Version: 1.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
patch for Ruler Grid property section restore of snap to grid none

Description Cherie Revells CLA 2006-01-10 16:38:18 EST
1. Create a Logic Diagram.
2. Open the Rulers & Grid properties tab.
-- Note that Snap to Grid is on by default because this is how the diagram preferences are configured for Logic Diagrams.
3. Uncheck Snap to Grid.
4. Press Restore Defaults.
EXPECTED:  Snap to Grid should be checked, but it isn't.
Comment 1 Tom Macdougall CLA 2006-01-16 11:00:43 EST
Created attachment 33076 [details]
patch for Ruler Grid property section restore of snap to grid

The snap to grid workspace property is compared against the corresponding preference value when restoring to defaults on the ruler and grid property section. The checkbox is updated if the values do not match.
Comment 2 Tom Macdougall CLA 2006-01-16 17:12:40 EST
Committed the code.
Comment 3 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug