Ignore:
Timestamp:
2012-04-14T12:58:31+02:00 (12 years ago)
Author:
stoecker
Message:

fix compile errors, cleanup build file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoPlugin.java

    r27909 r28289  
    149149       
    150150        //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) {           
    152152            public void actionPerformed(ActionEvent e) {
    153153                videoPositionLayer.setAutoCenter(VCenterIcon.isSelected());
     
    155155        });
    156156       
    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) {
    158158            public void actionPerformed(ActionEvent e) {
    159159                gpsVideoPlayer.setSubtitles(VSubTitles.isSelected());                           
     
    161161        });
    162162       
    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) {           
    164164            public void actionPerformed(ActionEvent e) {
    165165                Object[] possibilities = {"200", "500", "1000", "2000", "10000"};
     
    170170        });
    171171       
    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) {           
    173173            public void actionPerformed(ActionEvent e) {
    174174                Object[] possibilities = {"500", "1000", "3000", "5000", "10000"};
     
    180180        //TODO read deinterlacers list out of videoengine
    181181        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) {           
    183183            public void actionPerformed(ActionEvent e) {
    184184                gpsVideoPlayer.setDeinterlacer("none");
    185185            }
    186186        });
    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) {
    188188            public void actionPerformed(ActionEvent e) {
    189189                gpsVideoPlayer.setDeinterlacer("bob");
    190190            }
    191191        });
    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) {
    193193            public void actionPerformed(ActionEvent e) {
    194194                gpsVideoPlayer.setDeinterlacer("linear");
Note: See TracChangeset for help on using the changeset viewer.