Changeset 32322 in osm for applications
- Timestamp:
- 2016-06-19T02:43:21+02:00 (9 years ago)
- Location:
- applications/editors/josm/plugins
- Files:
-
- 3 added
- 69 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build-common.xml
r32317 r32322 66 66 ********************************************************** 67 67 --> 68 <target name="compile" depends="init" unless="skip-compile"> 68 <target name="pre-compile"> 69 <!-- to be overidden by plugins that need to perform additional tasks before compiling --> 70 </target> 71 <target name="compile" depends="init, pre-compile" unless="skip-compile"> 69 72 <echo message="compiling sources for ${plugin.jar} ..."/> 70 73 <javac srcdir="src" debug="true" destdir="${plugin.build.dir}" includeantruntime="false" encoding="UTF-8"> -
applications/editors/josm/plugins/dataimport/build.xml
r32306 r32322 21 21 <!-- ** include targets that all plugins have in common ** --> 22 22 <import file="../build-common.xml"/> 23 23 24 <target name="pre-compile" depends="-jaxb_win, -jaxb_nix" unless="jaxb.notRequired"> 25 <exec executable="${xjc}" failonerror="true"> 26 <arg value="-d"/> 27 <arg value="src"/> 28 <arg value="-p"/> 29 <arg value="org.openstreetmap.josm.plugins.dataimport.io.tcx"/> 30 <arg value="-encoding"/> 31 <arg value="UTF-8"/> 32 <arg value="resources/tcx/TrainingCenterDatabasev2.xsd"/> 33 </exec> 34 </target> 35 24 36 </project> -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/EngineSound.java
r23190 r32322 11 11 import java.util.TimerTask; 12 12 13 import javax.sound.sampled.AudioFormat; 13 14 import javax.sound.sampled.AudioSystem; 14 15 import javax.sound.sampled.DataLine; 15 16 import javax.sound.sampled.SourceDataLine; 16 import javax.sound.sampled.AudioFormat;17 17 18 class engine{19 public engine() {18 class EngineSound { 19 public EngineSound() { 20 20 rpm = 0.0; 21 21 } -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/GameWindow.java
r31307 r32322 37 37 import org.openstreetmap.josm.gui.layer.GpxLayer; 38 38 import org.openstreetmap.josm.gui.layer.Layer; 39 import org.openstreetmap.josm.gui.layer.WMSLayer;40 39 41 40 public class GameWindow extends JFrame implements ActionListener { … … 77 76 car_gps.start(); 78 77 79 car_engine = new engine();78 car_engine = new EngineSound(); 80 79 car_engine.start(); 81 80 … … 86 85 } 87 86 88 protected enginecar_engine;87 protected EngineSound car_engine; 89 88 90 89 protected gps car_gps; -
applications/editors/josm/plugins/wms-turbo-challenge2/src/wmsturbochallenge/WMSRacer.java
r29854 r32322 8 8 import static org.openstreetmap.josm.tools.I18n.tr; 9 9 10 import org.openstreetmap.josm.gui.layer.Layer; 11 import org.openstreetmap.josm.gui.MapView; 12 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 13 import org.openstreetmap.josm.gui.MapFrame; 14 import org.openstreetmap.josm.actions.JosmAction; 15 import org.openstreetmap.josm.plugins.Plugin; 16 import org.openstreetmap.josm.plugins.PluginInformation; 17 import org.openstreetmap.josm.Main; 10 import java.awt.event.ActionEvent; 18 11 19 12 import javax.swing.JMenu; 20 13 import javax.swing.JMenuItem; 21 14 22 import java.awt.event.ActionEvent; 15 import org.openstreetmap.josm.Main; 16 import org.openstreetmap.josm.actions.JosmAction; 17 import org.openstreetmap.josm.gui.MapFrame; 18 import org.openstreetmap.josm.gui.MapView; 19 import org.openstreetmap.josm.gui.MapView.LayerChangeListener; 20 import org.openstreetmap.josm.gui.layer.Layer; 21 import org.openstreetmap.josm.plugins.Plugin; 22 import org.openstreetmap.josm.plugins.PluginInformation; 23 23 24 24 public class WMSRacer extends Plugin implements LayerChangeListener {
Note:
See TracChangeset
for help on using the changeset viewer.