Reformatting only, maybe done by some automatic tools. Does not apply to Apache SIS since the code has been reformatted again.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r1093:1094 https://svn.osgeo.org/geotools/trunk/modules/extension/widgets-swing/src/main/java/org/geotools/gui/swing/MouseSelectionTracker.java
Revision 1093 | Revision 1094 |
---|---|
* component.addMouseListener(control); * </pre></blockquote> * * @version 1.0 * @author Martin Desruisseaux */ |
* component.addMouseListener(control);
* </pre></blockquote>
*
* $Id: MouseSelectionTracker.java,v 1.2 2002/07/15 15:45:11 loxnard Exp $
* @version 1.0
* @author Martin Desruisseaux
*/ |
* @throws NoninvertibleTransformException If the affine transform
* <code>transform</code> can't be inverted.
*/
public Shape getSelectedArea(final AffineTransform transform) throws NoninvertibleTransformException {
if (ox==px && oy==py) return null;
RectangularShape shape=mouseSelectedArea;
if (transform!=null && !transform.isIdentity()) { |
* @throws NoninvertibleTransformException If the affine transform * <code>transform</code> can't be inverted. */ public Shape getSelectedArea(final AffineTransform transform) throws NoninvertibleTransformException { if (ox==px && oy==py) return null; RectangularShape shape=mouseSelectedArea; if (transform!=null && !transform.isIdentity()) { |
isDragging=true;
ox=px=event.getX();
oy=py=event.getY();
if (model instanceof Line2D) model=null;
mouseSelectedArea=(RectangularShape) model;
if (mouseSelectedArea!=null) {
mouseSelectedArea.setFrame(ox, oy, 0, 0); |
isDragging=true; ox=px=event.getX(); oy=py=event.getY(); if (model instanceof Line2D) { model = null; } mouseSelectedArea=(RectangularShape) model; if (mouseSelectedArea!=null) { mouseSelectedArea.setFrame(ox, oy, 0, 0); |