| Revision 4982,
734 bytes
checked in by stoecker, 3 months ago
(diff) |
|
see #7226 - patch by akks (fixed a bit) - fix shortcut deprecations
|
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | // License: GPL. Copyright 2007 by Immanuel Scholz and others |
|---|
| 2 | package org.openstreetmap.josm.actions.audio; |
|---|
| 3 | |
|---|
| 4 | import static org.openstreetmap.josm.gui.help.HelpUtil.ht; |
|---|
| 5 | import static org.openstreetmap.josm.tools.I18n.tr; |
|---|
| 6 | import static org.openstreetmap.josm.tools.I18n.trc; |
|---|
| 7 | |
|---|
| 8 | import java.awt.event.KeyEvent; |
|---|
| 9 | |
|---|
| 10 | import org.openstreetmap.josm.tools.Shortcut; |
|---|
| 11 | |
|---|
| 12 | public class AudioSlowerAction extends AudioFastSlowAction { |
|---|
| 13 | |
|---|
| 14 | public AudioSlowerAction() { |
|---|
| 15 | super(trc("audio", "Slower"), "audio-slower", trc("audio", "Slower Forward"), |
|---|
| 16 | Shortcut.registerShortcut("audio:slower", tr("Audio: {0}", trc("audio", "Slower")), KeyEvent.VK_F4, Shortcut.DIRECT), true); |
|---|
| 17 | this.putValue("help", ht("/Action/AudioSlower")); |
|---|
| 18 | } |
|---|
| 19 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.