Changeset 32515 in osm for applications/editors/josm/plugins/pdfimport/src
- Timestamp:
- 2016-07-02T00:16:12+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/pdfimport/src/pdfimport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/src/pdfimport/LoadPdfDialog.java
r30532 r32515 715 715 716 716 private EastNorth getSelectedCoor() { 717 Collection<OsmPrimitive> selected = Main. main.getCurrentDataSet().getSelected();717 Collection<OsmPrimitive> selected = Main.getLayerManager().getEditDataSet().getSelected(); 718 718 719 719 if (selected.size() != 1 || !(selected.iterator().next() instanceof Node)){ … … 1061 1061 this.removeLayer(); 1062 1062 this.layer = _layer; 1063 Main. main.addLayer(this.layer);1063 Main.getLayerManager().addLayer(this.layer); 1064 1064 Main.map.mapView.zoomTo(placement.getWorldBounds(this.data)); 1065 1065 } … … 1067 1067 private void removeLayer() { 1068 1068 if (this.layer != null) { 1069 Main. main.removeLayer(this.layer);1069 Main.getLayerManager().removeLayer(this.layer); 1070 1070 this.layer.data.clear(); //saves memory 1071 1071 this.layer = null; -
applications/editors/josm/plugins/pdfimport/src/pdfimport/pdfbox/operators/Invoke.java
r23991 r32515 57 57 PDPage page = drawer.getPage(); 58 58 COSName objectName = (COSName)arguments.get( 0 ); 59 Map xobjects = drawer.getResources().getXObjects();59 Map<?, ?> xobjects = drawer.getResources().getXObjects(); 60 60 PDXObject xobject = (PDXObject)xobjects.get( objectName.getName() ); 61 61 if( xobject instanceof PDXObjectImage )
Note:
See TracChangeset
for help on using the changeset viewer.