Changeset 2017 in josm for trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/PlayHeadMarker.java
- Timestamp:
- 30.08.2009 19:07:24 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/PlayHeadMarker.java
r1865 r2017 26 26 import org.openstreetmap.josm.data.gpx.WayPoint; 27 27 import org.openstreetmap.josm.gui.MapView; 28 import org.openstreetmap.josm.gui.OptionPaneUtil;29 28 import org.openstreetmap.josm.gui.layer.GpxLayer; 30 29 import org.openstreetmap.josm.tools.AudioPlayer; … … 168 167 if (ca == null) { 169 168 /* Not close enough to track, or no audio marker found for some other reason */ 170 OptionPaneUtil.showMessageDialog(169 JOptionPane.showMessageDialog( 171 170 Main.parent, 172 171 tr("You need to drag the play head near to the GPX track whose associated sound track you were playing (after the first marker)."), … … 223 222 WayPoint cw = recent.parentLayer.fromLayer.nearestPointOnTrack(en, enPlus25px.east() - en.east()); 224 223 if (cw == null) { 225 OptionPaneUtil.showMessageDialog(224 JOptionPane.showMessageDialog( 226 225 Main.parent, 227 226 tr("You need to SHIFT-drag the play head onto an audio marker or onto the track point where you want to synchronize."), … … 238 237 if(ca == null) 239 238 { 240 OptionPaneUtil.showMessageDialog(239 JOptionPane.showMessageDialog( 241 240 Main.parent, 242 241 tr("Unable to create new audio marker."), … … 247 246 } 248 247 else if (recent.parentLayer.synchronizeAudioMarkers(ca)) { 249 OptionPaneUtil.showMessageDialog(248 JOptionPane.showMessageDialog( 250 249 Main.parent, 251 250 tr("Audio synchronized at point {0}.", ca.text), … … 256 255 endDrag(false); 257 256 } else { 258 OptionPaneUtil.showMessageDialog(257 JOptionPane.showMessageDialog( 259 258 Main.parent, 260 259 tr("Unable to synchronize in layer being played."),
Note: See TracChangeset
for help on using the changeset viewer.
