Changeset 34422 in osm for applications/editors
- Timestamp:
- 2018-07-13T11:17:51+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/pdfimport/src/pdfimport
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/pdfimport/src/pdfimport/GuiFieldString.java
r34398 r34422 7 7 8 8 public class GuiFieldString extends JTextField { 9 /* 10 * TODO: integrate presentation of dataValid; 11 */ 9 12 10 13 protected Border defaultBorder; -
applications/editors/josm/plugins/pdfimport/src/pdfimport/GuiProjections.java
r34398 r34422 30 30 /* 31 31 * provide a component let the user select a projection 32 * TODO: allow preferences for sub-projections like UTM, Gauss-Krüger, etc. 33 * TODO: allow selection of projection by code (EPSG) 34 * TODO: allow selection of custom projection 32 35 */ 33 36 private GuiPanel panel = null; … … 147 150 try { 148 151 bd=p.getWorldBoundsBoxEastNorth(); 149 s += String.format(" Center: (%.0f %.0f) Min:(%.0f %.0f) Max:(%.0f %.0f)", bd.getCenter().east(),bd.getCenter().north(), bd.getMin().east(),bd.getMin().north(),bd.getMax().east(),bd.getMax().north());152 s += String.format("(%3$.0f %4$.0f) : (%5$.0f %6$.0f)", bd.getCenter().east(),bd.getCenter().north(), bd.getMin().east(),bd.getMin().north(),bd.getMax().east(),bd.getMax().north()); 150 153 } catch (Exception e) { 154 e.toString(); 151 155 // Leave it, if we cant get it 152 156 } -
applications/editors/josm/plugins/pdfimport/src/pdfimport/LoadPdfDialog.java
r34398 r34422 363 363 /* 364 364 * perform load PDF file to preview 365 * TODO: load preview to previous placement, involves reverse transform 365 366 */ 366 367 final File newFileName = this.chooseFile(); 367 368 368 369 if (newFileName == null) { 369 return; 370 if (Preferences.getGuiMode() == Preferences.GuiMode.Simple) { 371 cancelAction(); 372 } else 373 return; 370 374 } 371 375 Logging.debug("PdfImport: Load Preview"); -
applications/editors/josm/plugins/pdfimport/src/pdfimport/PdfImportPlugin.java
r34398 r34422 50 50 @Override 51 51 public PreferenceSetting getPreferenceSetting() { 52 /* 53 * TODO: implement it 54 */ 52 55 return new pdfimportPrefs(); 53 56 }
Note:
See TracChangeset
for help on using the changeset viewer.