locationSuggested(Widget widget, Point originalLocation, Point suggestedLocation) Called after an user suggests a new location and before the suggested location is stored to a specified widget.
Called after an user suggests a new location and before the suggested location is stored to a specified widget.
This allows to manipulate with a suggested location to perform snap-to-grid, locked-axis on any other movement strategy.
Parameters: widget - the moved widget Parameters: originalLocation - the original location specified by the MoveProvider.getOriginalLocation method Parameters: suggestedLocation - the location suggested by an user (usually by a mouse cursor position) the new (optional modified) location processed by the strategy