Changeset 34518 in osm for applications/editors
- Timestamp:
- 2018-08-18T18:01:31+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/imagery-xml-bounds
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery-xml-bounds/build.xml
r34326 r34518 4 4 <property name="commit.message" value="Commit message"/> 5 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 6 <property name="plugin.main.version" value="1 3957"/>6 <property name="plugin.main.version" value="14153"/> 7 7 8 8 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/actions/ShowBoundsAction.java
r34326 r34518 11 11 import javax.swing.JScrollPane; 12 12 13 import org.openstreetmap.josm.Main;14 13 import org.openstreetmap.josm.actions.IPrimitiveAction; 15 14 import org.openstreetmap.josm.data.osm.IPrimitive; 15 import org.openstreetmap.josm.gui.MainApplication; 16 16 import org.openstreetmap.josm.plugins.imageryxmlbounds.XmlBoundsLayer; 17 17 … … 51 51 scrollPane.setPreferredSize(new Dimension(1024, 600)); 52 52 box.add(scrollPane); 53 JOptionPane.showMessageDialog(Main .parent, box, ACTION_NAME, JOptionPane.PLAIN_MESSAGE);53 JOptionPane.showMessageDialog(MainApplication.getMainFrame(), box, ACTION_NAME, JOptionPane.PLAIN_MESSAGE); 54 54 } 55 55 -
applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/io/XmlBoundsImporter.java
r33560 r34518 10 10 import javax.swing.JOptionPane; 11 11 12 import org.openstreetmap.josm.Main;13 12 import org.openstreetmap.josm.data.imagery.ImageryInfo; 14 13 import org.openstreetmap.josm.data.osm.DataSet; … … 67 66 Logging.trace(e); 68 67 if (JOptionPane.showConfirmDialog( 69 Main .parent,68 MainApplication.getMainFrame(), 70 69 tr("Validating error in file {0}:\n{1}\nDo you want to continue without validating the file ?", 71 70 source != null ? source : file.getPath(), e.getLocalizedMessage()), … … 91 90 if (dataSet.allPrimitives().isEmpty()) { 92 91 JOptionPane.showMessageDialog( 93 Main .parent, tr("No data found in file {0}.", source != null ? source : file.getPath()),92 MainApplication.getMainFrame(), tr("No data found in file {0}.", source != null ? source : file.getPath()), 94 93 tr("Open Imagery XML file"), JOptionPane.INFORMATION_MESSAGE); 95 94 }
Note:
See TracChangeset
for help on using the changeset viewer.