Changeset 16163 in osm for applications
- Timestamp:
- 2009-06-26T22:22:00+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/build.xml
r14015 r16163 26 26 <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs"/> 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/OpenStreetBugs"/> 28 <attribute name="Plugin-Mainversion" value="1 465"/>28 <attribute name="Plugin-Mainversion" value="1638"/> 29 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 30 </manifest> -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java
r14817 r16163 125 125 } 126 126 127 Point p = mv.getPoint(node. eastNorth);127 Point p = mv.getPoint(node.getEastNorth()); 128 128 129 129 ImageIcon icon = OsbPlugin.loadIcon("icon_error16.png"); … … 200 200 if (n.deleted || n.incomplete) 201 201 continue; 202 Point sp = Main.map.mapView.getPoint(n. eastNorth);202 Point sp = Main.map.mapView.getPoint(n.getEastNorth()); 203 203 double dist = p.distanceSq(sp); 204 204 if (minDistanceSq > dist && p.distance(sp) < snapDistance) { -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java
r15960 r16163 258 258 public void zoomToNode(Node node) { 259 259 double scale = Main.map.mapView.getScale(); 260 Main.map.mapView.zoomTo(node. eastNorth, scale);260 Main.map.mapView.zoomTo(node.getEastNorth(), scale); 261 261 } 262 262 -
applications/editors/josm/plugins/osmarender/.classpath
r1438 r16163 3 3 <classpathentry kind="src" path="src"/> 4 4 <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> 5 <classpathentry combineaccessrules="false" kind="src" path="/ josm"/>5 <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/> 6 6 <classpathentry kind="output" path="bin"/> 7 7 </classpath> -
applications/editors/josm/plugins/osmarender/build.xml
r14015 r16163 26 26 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/> 27 27 <attribute name="Plugin-Description" value="Launches FireFox to display the current visible screen as a nice SVG image."/> 28 <attribute name="Plugin-Mainversion" value="1 465"/>28 <attribute name="Plugin-Mainversion" value="1638"/> 29 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 30 </manifest> -
applications/editors/josm/plugins/osmarender/src/OsmarenderPlugin.java
r15938 r16163 2 2 3 3 import java.awt.event.ActionEvent; 4 import java.io.BufferedReader; 5 import java.io.File; 4 6 import java.io.FileOutputStream; 7 import java.io.FileReader; 5 8 import java.io.IOException; 6 9 import java.io.PrintWriter; 7 import java.io.BufferedReader;8 import java.io.FileReader;9 import java.io.File;10 import java.util.Collection;11 10 import java.util.HashSet; 12 11 13 import javax.swing.AbstractAction;14 12 import javax.swing.JLabel; 15 13 import javax.swing.JMenuItem; … … 23 21 import org.openstreetmap.josm.data.osm.DataSet; 24 22 import org.openstreetmap.josm.data.osm.Node; 23 import org.openstreetmap.josm.data.osm.OsmPrimitive; 25 24 import org.openstreetmap.josm.data.osm.Way; 26 import org.openstreetmap.josm.data.osm.OsmPrimitive;27 25 import org.openstreetmap.josm.data.osm.visitor.CollectBackReferencesVisitor; 26 import org.openstreetmap.josm.gui.MainMenu; 28 27 import org.openstreetmap.josm.gui.MapFrame; 29 import org.openstreetmap.josm.gui.MainMenu;30 28 import org.openstreetmap.josm.gui.preferences.PreferenceDialog; 31 29 import org.openstreetmap.josm.gui.preferences.PreferenceSetting; … … 58 56 for (Node n : Main.ds.nodes) { 59 57 if (n.deleted || n.incomplete) continue; 60 if (n. coor.isWithin(b)) {58 if (n.getCoor().isWithin(b)) { 61 59 fromDataSet.nodes.add(n); 62 60 n.visit(backRefsV); … … 66 64 if (p instanceof Way) { 67 65 for (Node n : ((Way) p).nodes) { 68 if (n. coor.isWithin(b))66 if (n.getCoor().isWithin(b)) 69 67 backRefsV.data.add(n); 70 68 }
Note:
See TracChangeset
for help on using the changeset viewer.