Changeset 35123 in osm for applications/editors/josm/plugins/OsmInspectorPlugin
- Timestamp:
- 2019-09-26T13:14:00+02:00 (5 years ago)
- Location:
- applications/editors/josm/plugins/OsmInspectorPlugin
- Files:
-
- 7 added
- 8 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/OsmInspectorPlugin/.classpath
r34143 r35123 8 8 <classpathentry kind="lib" path="lib/commons-collections-3.2.2.jar"/> 9 9 <classpathentry kind="lib" path="lib/commons-jxpath-1.3.jar"/> 10 <classpathentry kind="lib" path="lib/gt-app-schema-resolver- 19.0.jar">10 <classpathentry kind="lib" path="lib/gt-app-schema-resolver-22.0.jar"> 11 11 <attributes> 12 12 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> 13 13 </attributes> 14 14 </classpathentry> 15 <classpathentry kind="lib" path="lib/gt-cql- 19.0.jar">15 <classpathentry kind="lib" path="lib/gt-cql-22.0.jar"> 16 16 <attributes> 17 17 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> 18 18 </attributes> 19 19 </classpathentry> 20 <classpathentry kind="lib" path="lib/gt-render- 19.0.jar">20 <classpathentry kind="lib" path="lib/gt-render-22.0.jar"> 21 21 <attributes> 22 22 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> 23 23 </attributes> 24 24 </classpathentry> 25 <classpathentry kind="lib" path="lib/gt- referencing3D-19.0.jar">25 <classpathentry kind="lib" path="lib/gt-wfs-ng-22.0.jar"> 26 26 <attributes> 27 27 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> 28 28 </attributes> 29 29 </classpathentry> 30 <classpathentry kind="lib" path="lib/gt- wfs-ng-19.0.jar">30 <classpathentry kind="lib" path="lib/gt-xml-22.0.jar"> 31 31 <attributes> 32 32 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> 33 33 </attributes> 34 34 </classpathentry> 35 <classpathentry kind="lib" path="lib/gt-x ml-19.0.jar">35 <classpathentry kind="lib" path="lib/gt-xsd-core-22.0.jar"> 36 36 <attributes> 37 37 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> 38 38 </attributes> 39 39 </classpathentry> 40 <classpathentry kind="lib" path="lib/gt-xsd-core-19.0.jar"> 41 <attributes> 42 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> 43 </attributes> 44 </classpathentry> 45 <classpathentry kind="lib" path="lib/gt-xsd-wfs-19.0.jar"> 40 <classpathentry kind="lib" path="lib/gt-xsd-wfs-22.0.jar"> 46 41 <attributes> 47 42 <attribute name="javadoc_location" value="http://docs.geotools.org/stable/javadocs/"/> -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/GeoFabrikWFSClient.java
r34143 r35123 12 12 import org.geotools.data.FeatureSource; 13 13 import org.geotools.factory.CommonFactoryFinder; 14 import org.geotools.factory.GeoTools;15 14 import org.geotools.feature.FeatureCollection; 16 15 import org.geotools.geometry.jts.ReferencedEnvelope; … … 80 79 // Ask WFS service for typeName data constrained by bboxRef 81 80 // 82 FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2(GeoTools 83 .getDefaultHints()); 81 FilterFactory2 ff = CommonFactoryFinder.getFilterFactory2(); 84 82 Filter filterBB = ff.bbox(ff.property(geomName), bboxRef); 85 83 FeatureCollection<SimpleFeatureType, SimpleFeature> features = source -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/ImportOsmInspectorBugsAction.java
r33793 r35123 19 19 import org.openstreetmap.josm.tools.Shortcut; 20 20 21 import com.vividsolutions.jts.io.ParseException;21 import org.locationtech.jts.io.ParseException; 22 22 23 23 public class ImportOsmInspectorBugsAction extends JosmAction { -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/OsmInspectorLayer.java
r34538 r35123 60 60 import org.openstreetmap.josm.tools.Logging; 61 61 62 import com.vividsolutions.jts.geom.Envelope;63 import com.vividsolutions.jts.geom.Geometry;64 import com.vividsolutions.jts.io.ParseException;62 import org.locationtech.jts.geom.Envelope; 63 import org.locationtech.jts.geom.Geometry; 64 import org.locationtech.jts.io.ParseException; 65 65 66 66 public class OsmInspectorLayer extends Layer { -
applications/editors/josm/plugins/OsmInspectorPlugin/src/org/openstreetmap/josm/plugins/osminspector/gui/OsmInspectorDialog.java
r33793 r35123 32 32 import org.openstreetmap.josm.tools.Shortcut; 33 33 34 import com.vividsolutions.jts.geom.Geometry;35 import com.vividsolutions.jts.geom.Point;34 import org.locationtech.jts.geom.Geometry; 35 import org.locationtech.jts.geom.Point; 36 36 37 37 public class OsmInspectorDialog extends ToggleDialog implements LayerChangeListener, ActiveLayerChangeListener { … … 233 233 @Override 234 234 public void layerAdded(LayerAddEvent e) { 235 if (layer instanceof OsmInspectorLayer) {235 if (layer != null) { 236 236 refreshModel(); 237 237 refreshBugList(); … … 241 241 @Override 242 242 public void layerRemoving(LayerRemoveEvent e) { 243 if (layer instanceof OsmInspectorLayer) {243 if (layer != null) { 244 244 bugsList.clearSelection(); 245 245 model.clear();
Note:
See TracChangeset
for help on using the changeset viewer.