source: josm/trunk/src/org/openstreetmap/josm/actions/audio/AudioNextAction.java@ 3754

Last change on this file since 3754 was 2857, checked in by mjulius, 14 years ago

fixed some more message contexts

  • Property svn:eol-style set to native
File size: 863 bytes
Line 
1// License: GPL. Copyright 2007 by Immanuel Scholz and others
2package org.openstreetmap.josm.actions.audio;
3
4import static org.openstreetmap.josm.tools.I18n.tr;
5import static org.openstreetmap.josm.tools.I18n.trc;
6
7import java.awt.event.ActionEvent;
8import java.awt.event.KeyEvent;
9
10import org.openstreetmap.josm.actions.JosmAction;
11import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
12import org.openstreetmap.josm.tools.Shortcut;
13
14public class AudioNextAction extends JosmAction {
15
16 public AudioNextAction() {
17 super(trc("audio", "Next Marker"), "audio-next", trc("audio", "Play next marker."),
18 Shortcut.registerShortcut("audio:next", tr("Audio: {0}", trc("audio", "Next Marker")), KeyEvent.VK_F8, Shortcut.GROUP_DIRECT), true);
19 }
20
21 public void actionPerformed(ActionEvent e) {
22 MarkerLayer.playNextMarker();
23 }
24}
Note: See TracBrowser for help on using the repository browser.