Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 501415

Summary: Allow precise positioning while snap-to-grid is enabled when a modifier is pressed.
Product: [Tools] GEF Reporter: Matthias Wienand <matthias.wienand>
Component: GEF MVCAssignee: gef-inbox <gef-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.0.0   
Target Milestone: 5.0.0 (Oxygen) M2   
Hardware: All   
OS: All   
Whiteboard:

Description Matthias Wienand CLA 2016-09-14 07:23:12 EDT
Currently, the different IFXOnDragPolicy implementations respect the snap-to-grid setting within the GridModel, i.e. the positions of manipulated objects are constrained to lie on grid points. However, the user should be able to overwrite the snap-to-grid setting by pressing a modifier key, so that precise manipulations that are not constrained can be performed while snap-to-grid is enabled.
Comment 1 Matthias Wienand CLA 2016-09-14 10:15:21 EDT
I implemented skipping of snap-to-grid when a certain modifier key is pressed during the respective drag interaction. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M2.