Changeset 27852 in osm for applications/editors/josm/plugins/videomapping
- Timestamp:
- 2012-02-18T13:40:52+01:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/videomapping
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/build.xml
r27354 r27852 32 32 <property name="commit.message" value="videomapping"/> 33 33 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="4 549"/>34 <property name="plugin.main.version" value="4980"/> 35 35 <!-- 36 36 ************************************************ -
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java
r27786 r27852 100 100 }; 101 101 VStart = new JosmAction(tr("Play/Pause"), "audio-playpause", tr("starts/pauses video playback"), 102 Shortcut.registerShortcut("videomapping:startstop",tr("Video: {0}", tr("Play/Pause")),KeyEvent.VK_NUMPAD5, Shortcut. GROUP_DIRECT), false) {102 Shortcut.registerShortcut("videomapping:startstop",tr("Video: {0}", tr("Play/Pause")),KeyEvent.VK_NUMPAD5, Shortcut.DIRECT), false) { 103 103 public void actionPerformed(ActionEvent e) { 104 104 gpsVideoPlayer.pause(); … … 106 106 }; 107 107 Vbackward = new JosmAction(tr("Backward"), "audio-prev", tr("jumps n sec back"), 108 Shortcut.registerShortcut("videomapping:backward",tr("Video: {0}", tr("Backward")),KeyEvent.VK_NUMPAD4, Shortcut. GROUP_DIRECT), false) {108 Shortcut.registerShortcut("videomapping:backward",tr("Video: {0}", tr("Backward")),KeyEvent.VK_NUMPAD4, Shortcut.DIRECT), false) { 109 109 public void actionPerformed(ActionEvent e) { 110 110 gpsVideoPlayer.backward(); … … 112 112 }; 113 113 Vforward= new JosmAction(tr("Forward"), "audio-next", tr("jumps n sec forward"), 114 Shortcut.registerShortcut("videomapping:forward",tr("Video: {0}", tr("Forward")),KeyEvent.VK_NUMPAD6, Shortcut. GROUP_DIRECT), false) {114 Shortcut.registerShortcut("videomapping:forward",tr("Video: {0}", tr("Forward")),KeyEvent.VK_NUMPAD6, Shortcut.DIRECT), false) { 115 115 public void actionPerformed(ActionEvent e) { 116 116 gpsVideoPlayer.forward(); … … 119 119 }; 120 120 Vfaster= new JosmAction(tr("Faster"), "audio-faster", tr("faster playback"), 121 Shortcut.registerShortcut("videomapping:faster",tr("Video: {0}", tr("Faster")),KeyEvent.VK_NUMPAD8, Shortcut. GROUP_DIRECT), false) {121 Shortcut.registerShortcut("videomapping:faster",tr("Video: {0}", tr("Faster")),KeyEvent.VK_NUMPAD8, Shortcut.DIRECT), false) { 122 122 123 123 public void actionPerformed(ActionEvent e) { … … 127 127 }; 128 128 Vslower= new JosmAction(tr("Slower"), "audio-slower", tr("slower playback"), 129 Shortcut.registerShortcut("videomapping:slower",tr("Video: {0}", tr("Slower")),KeyEvent.VK_NUMPAD2, Shortcut. GROUP_DIRECT), false) {129 Shortcut.registerShortcut("videomapping:slower",tr("Video: {0}", tr("Slower")),KeyEvent.VK_NUMPAD2, Shortcut.DIRECT), false) { 130 130 131 131 public void actionPerformed(ActionEvent e) { … … 142 142 }; 143 143 Vloop= new JosmAction(tr("Loop"), "loop", tr("loops n sec around current position"), 144 Shortcut.registerShortcut("videomapping:loop",tr("Video: {0}", tr("Loop")),KeyEvent.VK_NUMPAD7, Shortcut. GROUP_DIRECT), false) {144 Shortcut.registerShortcut("videomapping:loop",tr("Video: {0}", tr("Loop")),KeyEvent.VK_NUMPAD7, Shortcut.DIRECT), false) { 145 145 public void actionPerformed(ActionEvent e) { 146 146 gpsVideoPlayer.toggleLooping();
Note:
See TracChangeset
for help on using the changeset viewer.