Changeset 17526 in osm for applications/editors
- Timestamp:
- 2009-09-08T23:04:43+02:00 (15 years ago)
- Location:
- applications/editors/josm/plugins/agpifoj
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/agpifoj/build.xml
r17356 r17526 34 34 <attribute name="Plugin-Early" value="false"/> 35 35 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/AgPifoJ"/> 36 <attribute name="Plugin-Mainversion" value="20 05"/>36 <attribute name="Plugin-Mainversion" value="2081"/> 37 37 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 38 38 </manifest> -
applications/editors/josm/plugins/agpifoj/src/org/openstreetmap/josm/plugins/agpifoj/CorrelateGpxWithImages.java
r17363 r17526 572 572 GpxDataWrapper selectedGpx = null; 573 573 while (! isOk) { 574 int answer = new ExtendedDialog(Main.parent, 574 ExtendedDialog dialog = new ExtendedDialog( 575 Main.parent, 575 576 tr("Correlate images with GPX track"), 576 panel, 577 new String[] { tr("Correlate"), tr("Auto-Guess"), tr("Cancel") }, 578 new String[] { "ok.png", "dialogs/gpx2imgManual.png", "cancel.png" }).getValue(); 579 577 new String[] { tr("Correlate"), tr("Auto-Guess"), tr("Cancel") } 578 ); 579 580 dialog.setContent(panel); 581 dialog.setButtonIcons(new String[] { "ok.png", "dialogs/gpx2imgManual.png", "cancel.png" }); 582 dialog.showDialog(); 583 int answer = dialog.getValue(); 580 584 if(answer != 1 && answer != 2) 581 585 return; … … 880 884 // immediately. Therefore "Close" is marked with an "OK" icon. 881 885 // Settings are only saved temporarily to the layer. 882 int answer= new ExtendedDialog(Main.parent,886 ExtendedDialog d = new ExtendedDialog(Main.parent, 883 887 tr("Adjust timezone and offset"), 884 p, 885 new String[] { tr("Close"), tr("Default Values") }, 886 new String[] { "ok.png", "dialogs/refresh.png"} 887 ).getValue(); 888 888 new String[] { tr("Close"), tr("Default Values") } 889 ); 890 891 d.setContent(p); 892 d.setButtonIcons(new String[] { "ok.png", "dialogs/refresh.png"}); 893 d.showDialog(); 894 int answer = d.getValue(); 889 895 // User wants default values; discard old result and re-open dialog 890 896 if(answer == 2) {
Note:
See TracChangeset
for help on using the changeset viewer.