source: josm/trunk/src/org/openstreetmap/josm/actions/audio/AudioPrevAction.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: 796 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 AudioPrevAction extends JosmAction {
14
15 public AudioPrevAction() {
16 super(tr("Previous Marker"), "audio-prev", tr("Play previous marker."),
17 Shortcut.registerShortcut("audio:prev", tr("Audio: {0}", tr("Previous Marker")), KeyEvent.VK_F5, Shortcut.GROUP_DIRECT), true);
18 }
19
20 public void actionPerformed(ActionEvent e) {
21 MarkerLayer.playPreviousMarker();
22 }
23}
Note: See TracBrowser for help on using the repository browser.