Changeset 32547 in osm for applications/editors/josm/plugins/splinex
- Timestamp:
- 2016-07-04T03:26:45+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins/splinex
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/splinex/.project
r32286 r32547 16 16 </arguments> 17 17 </buildCommand> 18 <buildCommand> 19 <name>net.sf.eclipsecs.core.CheckstyleBuilder</name> 20 <arguments> 21 </arguments> 22 </buildCommand> 18 23 </buildSpec> 19 24 <natures> 20 25 <nature>org.eclipse.jdt.core.javanature</nature> 26 <nature>net.sf.eclipsecs.core.CheckstyleNature</nature> 21 27 </natures> 22 28 </projectDescription> -
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/DrawSplineAction.java
r32500 r32547 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.Splinex; 2 3 … … 308 309 helperEndpoint = null; 309 310 Main.map.mapView.setNewCursor(Cursor.MOVE_CURSOR, this); 310 } else 311 { 311 } else { 312 312 Node n = null; 313 313 if (!ctrl) -
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/Spline.java
r31644 r32547 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.Splinex; 2 3 … … 129 130 public enum SplinePoint { 130 131 ENDPOINT, CONTROL_PREV, CONTROL_NEXT 131 } ;132 } 132 133 133 134 public class PointHandle { … … 480 481 public List<OsmPrimitive> getNodes() { 481 482 ArrayList<OsmPrimitive> result = new ArrayList<>(nodes.size()); 482 for (SNode sn : nodes) 483 for (SNode sn : nodes) { 483 484 result.add(sn.node); 485 } 484 486 return result; 485 487 } … … 496 498 saveSegments = new SNode[nodes.size()]; 497 499 int i = 0; 498 for (SNode sn : nodes) 500 for (SNode sn : nodes) { 499 501 saveSegments[i++] = sn; 502 } 500 503 nodes.clear(); 501 504 return super.executeCommand(); -
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/SplineHitTest.java
r31130 r32547 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.Splinex; 2 3 -
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/SplinexPlugin.java
r31130 r32547 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.Splinex; 2 3 -
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/SplinexPreference.java
r31130 r32547 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.Splinex; 2 3 -
applications/editors/josm/plugins/splinex/src/org/openstreetmap/josm/plugins/Splinex/UndeleteNodeCommand.java
r31130 r32547 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.plugins.Splinex; 2 3 … … 14 15 boolean wasModified; 15 16 16 publicUndeleteNodeCommand(Node n) {17 UndeleteNodeCommand(Node n) { 17 18 this.n = n; 18 19 }
Note:
See TracChangeset
for help on using the changeset viewer.