Ignore:
Timestamp:
2010-09-15T10:58:57+02:00 (14 years ago)
Author:
guardian
Message:

undoed changes

Location:
applications/editors/josm/plugins/videomapping
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/videomapping/build.xml

    r22850 r23172  
    4040      ** should not be necessary to change the following properties
    4141     -->
    42         <property name="josm"                   location="../../core/dist/josm-custom.jar"/>
     42        <property name="josm"                   location="../JOSM/dist/josm-custom.jar"/> <!-- patched for my own workbench, will fix if I understand how you have to setup it right-->
    4343        <property name="plugin.build.dir"       value="build"/>
    4444        <property name="plugin.src.dir"         value="src"/>
    4545        <!-- this is the directory where the plugin jar is copied to -->
    46         <property name="plugin.dist.dir"        value="../../dist"/>
    47         <property name="ant.build.javac.target" value="1.6"/>
     46        <property name="plugin.dist.dir"        value="../JOSM/dist"/>
     47        <property name="ant.build.javac.target" value="1.5"/>
    4848        <property name="plugin.jar"             value="${plugin.dist.dir}/${ant.project.name}.jar"/>
    4949        <property name="vlcj"                  value="lib/vlcj-1.1.2.jar"/>
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/PositionLayer.java

    r22850 r23172  
    7676                gpsTimeCode= new SimpleDateFormat("hh:mm:ss");
    7777                Main.map.mapView.addMouseListener(this);
    78                 Main.map.mapView.addMouseMotionListener(this);
     78                Main.map.mapView.addMouseMotionListener(this);                                                 
     79               
    7980        }
    8081
     
    9596
    9697        @Override
    97         public Action[] getMenuEntries() {
    98         return new Action[]{
    99                 LayerListDialog.getInstance().createActivateLayerAction(this),
    100                 LayerListDialog.getInstance().createShowHideLayerAction(),
    101                 LayerListDialog.getInstance().createDeleteLayerAction(),
    102                 SeparatorLayerAction.INSTANCE,
     98        public Component[] getMenuEntries() {
     99        return new Component[]{
     100                new JMenuItem(LayerListDialog.getInstance().createShowHideLayerAction(this)),
     101                new JMenuItem(LayerListDialog.getInstance().createDeleteLayerAction(this)),
     102                new JSeparator(),
    103103                //TODO here my stuff
    104                 SeparatorLayerAction.INSTANCE,
    105                 new LayerListPopup.InfoAction(this)};//TODO here infos about the linked videos
    106         }
     104                new JSeparator(),
     105                new JMenuItem(new LayerListPopup.InfoAction(this))};//TODO here infos about the linked videos
     106        }
     107         
     108
    107109
    108110        @Override
     
    121123               
    122124        }
     125
     126       
    123127       
    124128        @Override
     
    129133                //TODO make icon transparent
    130134                //draw all GPS points
    131                 g.setColor(new Color(0,255,0,128));
     135                g.setColor(Color.YELLOW); //new Color(0,255,0,128)
    132136                for(WayPoint n: ls) {
    133137                        p = Main.map.mapView.getPoint(n.getEastNorth());
  • applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoMappingPlugin.java

    r22850 r23172  
    6969          //TODO What more to store during sessions? Size/Position
    7070         
     71
    7172        public VideoMappingPlugin(PluginInformation info) {
    7273                super(info);
Note: See TracChangeset for help on using the changeset viewer.