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

Last change on this file since 1180 was 1169, checked in by stoecker, 15 years ago

removed usage of tab stops

  • Property svn:eol-style set to native
File size: 780 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;
5
6import java.awt.event.ActionEvent;
7import java.awt.event.KeyEvent;
8
9import org.openstreetmap.josm.actions.JosmAction;
10import org.openstreetmap.josm.gui.layer.markerlayer.MarkerLayer;
11import org.openstreetmap.josm.tools.Shortcut;
12
13public class AudioNextAction extends JosmAction {
14
15 public AudioNextAction() {
16 super(tr("Next Marker"), "audio-next", tr("Play next marker."),
17 Shortcut.registerShortcut("audio:next", tr("Audio: {0}", tr("Next Marker")), KeyEvent.VK_F8, Shortcut.GROUP_DIRECT), true);
18 }
19
20 public void actionPerformed(ActionEvent e) {
21 MarkerLayer.playNextMarker();
22 }
23}
Note: See TracBrowser for help on using the repository browser.