Changeset 23172 in osm
- Timestamp:
- 2010-09-15T10:58:57+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/videomapping
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/build.xml
r22850 r23172 40 40 ** should not be necessary to change the following properties 41 41 --> 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--> 43 43 <property name="plugin.build.dir" value="build"/> 44 44 <property name="plugin.src.dir" value="src"/> 45 45 <!-- 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"/> 48 48 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 49 49 <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 76 76 gpsTimeCode= new SimpleDateFormat("hh:mm:ss"); 77 77 Main.map.mapView.addMouseListener(this); 78 Main.map.mapView.addMouseMotionListener(this); 78 Main.map.mapView.addMouseMotionListener(this); 79 79 80 } 80 81 … … 95 96 96 97 @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(), 103 103 //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 107 109 108 110 @Override … … 121 123 122 124 } 125 126 123 127 124 128 @Override … … 129 133 //TODO make icon transparent 130 134 //draw all GPS points 131 g.setColor( new Color(0,255,0,128));135 g.setColor(Color.YELLOW); //new Color(0,255,0,128) 132 136 for(WayPoint n: ls) { 133 137 p = Main.map.mapView.getPoint(n.getEastNorth()); -
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/VideoMappingPlugin.java
r22850 r23172 69 69 //TODO What more to store during sessions? Size/Position 70 70 71 71 72 public VideoMappingPlugin(PluginInformation info) { 72 73 super(info);
Note:
See TracChangeset
for help on using the changeset viewer.