Changeset 34543 in osm for applications/editors/josm/plugins/photoadjust
- Timestamp:
- 2018-08-18T19:27:06+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/photoadjust
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/photoadjust/build.xml
r34097 r34543 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 3060"/>7 <property name="plugin.main.version" value="14153"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/photoadjust/src/org/openstreetmap/josm/plugins/photoadjust/PhotoPropertyEditor.java
r33757 r34543 21 21 import javax.swing.event.DocumentListener; 22 22 23 import org.openstreetmap.josm.Main;24 23 import org.openstreetmap.josm.actions.JosmAction; 25 24 import org.openstreetmap.josm.data.coor.LatLon; … … 102 101 updateLayer(layer, photo); 103 102 } catch (AssertionError err) { 104 JOptionPane.showMessageDialog(Main .parent,103 JOptionPane.showMessageDialog(MainApplication.getMainFrame(), 105 104 tr("Please select an image first."), 106 105 tr("No image selected"), … … 149 148 public PropertyEditorDialog(String title, final ImageEntry image, 150 149 final GeoImageLayer layer) { 151 super(Main .parent, title, tr("Ok"), tr("Cancel"));150 super(MainApplication.getMainFrame(), title, tr("Ok"), tr("Cancel")); 152 151 this.image = image; 153 152 this.layer = layer; … … 186 185 @Override public void actionPerformed(ActionEvent evt) { 187 186 final LatLonDialog llDialog 188 = new LatLonDialog(Main .parent,187 = new LatLonDialog(MainApplication.getMainFrame(), 189 188 tr("Edit Image Coordinates"), null); 190 189 llDialog.setCoordinates(getLatLon());
Note:
See TracChangeset
for help on using the changeset viewer.