Changeset 28289 in osm for applications/editors/josm/plugins/videomapping/src/org
- Timestamp:
- 2012-04-14T12:58:31+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java
r27909 r28289 149 149 150 150 //now the options menu 151 VCenterIcon = new JCheckBoxMenuItem(new JosmAction(tr("Keep centered"), null, tr("follows the video icon automaticly"),null, false,"vm_keepcentered",false) {151 VCenterIcon = new JCheckBoxMenuItem(new JosmAction(tr("Keep centered"), (String)null, tr("follows the video icon automaticly"),null, false,"vm_keepcentered",false) { 152 152 public void actionPerformed(ActionEvent e) { 153 153 videoPositionLayer.setAutoCenter(VCenterIcon.isSelected()); … … 155 155 }); 156 156 157 VSubTitles = new JCheckBoxMenuItem(new JosmAction(tr("Subtitles"), null, tr("Show subtitles in video"),null, false,"vm_subtitles",false) {157 VSubTitles = new JCheckBoxMenuItem(new JosmAction(tr("Subtitles"), (String)null, tr("Show subtitles in video"),null, false,"vm_subtitles",false) { 158 158 public void actionPerformed(ActionEvent e) { 159 159 gpsVideoPlayer.setSubtitles(VSubTitles.isSelected()); … … 161 161 }); 162 162 163 VJumpLength = new JMenuItem(new JosmAction(tr("Jump length"), null, tr("Set the length of a jump"),null, false,"vm_jumplen",false) {163 VJumpLength = new JMenuItem(new JosmAction(tr("Jump length"), (String)null, tr("Set the length of a jump"),null, false,"vm_jumplen",false) { 164 164 public void actionPerformed(ActionEvent e) { 165 165 Object[] possibilities = {"200", "500", "1000", "2000", "10000"}; … … 170 170 }); 171 171 172 VLoopLength = new JMenuItem(new JosmAction(tr("Loop length"), null, tr("Set the length around a looppoint"),null, false,"vm_looplen",false) {172 VLoopLength = new JMenuItem(new JosmAction(tr("Loop length"), (String)null, tr("Set the length around a looppoint"),null, false,"vm_looplen",false) { 173 173 public void actionPerformed(ActionEvent e) { 174 174 Object[] possibilities = {"500", "1000", "3000", "5000", "10000"}; … … 180 180 //TODO read deinterlacers list out of videoengine 181 181 VDeinterlacer= new JMenu("Deinterlacer"); 182 VIntNone= new JRadioButtonMenuItem(new JosmAction(tr("none"), null, tr("no deinterlacing"),null, false,"vm_deinterlacer",false) {182 VIntNone= new JRadioButtonMenuItem(new JosmAction(tr("none"), (String)null, tr("no deinterlacing"),null, false,"vm_deinterlacer",false) { 183 183 public void actionPerformed(ActionEvent e) { 184 184 gpsVideoPlayer.setDeinterlacer("none"); 185 185 } 186 186 }); 187 VIntBob= new JRadioButtonMenuItem(new JosmAction("bob", null, tr("deinterlacing using line doubling"),null, false,"vm_bobdeinterlace",false) {187 VIntBob= new JRadioButtonMenuItem(new JosmAction("bob", (String)null, tr("deinterlacing using line doubling"),null, false,"vm_bobdeinterlace",false) { 188 188 public void actionPerformed(ActionEvent e) { 189 189 gpsVideoPlayer.setDeinterlacer("bob"); 190 190 } 191 191 }); 192 VIntLinear= new JRadioButtonMenuItem(new JosmAction("linear", null, tr("deinterlacing using linear interpolation"),null, false,"vm_lineardeinterlace",false) {192 VIntLinear= new JRadioButtonMenuItem(new JosmAction("linear", (String)null, tr("deinterlacing using linear interpolation"),null, false,"vm_lineardeinterlace",false) { 193 193 public void actionPerformed(ActionEvent e) { 194 194 gpsVideoPlayer.setDeinterlacer("linear");
Note:
See TracChangeset
for help on using the changeset viewer.