Changeset 29854 in osm for applications/editors/josm/plugins/OpeningHoursEditor
- Timestamp:
- 2013-08-21T03:47:16+02:00 (12 years ago)
- Location:
- applications/editors/josm/plugins/OpeningHoursEditor
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/OpeningHoursEditor/build.xml
r29771 r29854 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <!--3 ** This is a template build file for a JOSM plugin.4 **5 ** Maintaining versions6 ** ====================7 ** see README.template8 **9 ** Usage10 ** =====11 ** To build it run12 **13 ** > ant dist14 **15 ** To install the generated plugin locally (in you default plugin directory) run16 **17 ** > ant install18 **19 ** The generated plugin jar is not automatically available in JOSMs plugin configuration20 ** dialog. You have to check it in first.21 **22 ** Use the ant target 'publish' to check in the plugin and make it available to other23 ** JOSM users:24 ** set the properties commit.message and plugin.main.version25 ** and run26 ** > ant publish27 **28 **29 -->30 2 <project name="OpeningHoursEditor" default="dist" basedir="."> 31 3 <!-- enter the SVN commit message --> 32 4 <property name="commit.message" value="fixed main version"/> 33 5 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 34 <property name="plugin.main.version" value="6 082"/>6 <property name="plugin.main.version" value="6162"/> 35 7 <!-- 36 8 ************************************************ … … 42 14 <!-- this is the directory where the plugin jar is copied to --> 43 15 <property name="plugin.dist.dir" value="../../dist"/> 44 <property name="ant.build.javac.target" value="1. 5"/>16 <property name="ant.build.javac.target" value="1.6"/> 45 17 <property name="plugin.jar" value="${plugin.dist.dir}/${ant.project.name}.jar"/> 46 18 <!-- -
applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/OhePlugin.java
r29778 r29854 108 108 } 109 109 110 @SuppressWarnings("unchecked") 110 111 @Override 111 112 public void actionPerformed(ActionEvent evt) { -
applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/gui/OheDialogPanel.java
r26215 r29854 62 62 value = (String) valuesToEdit; 63 63 else if (valuesToEdit instanceof Map<?, ?>) { 64 @SuppressWarnings("unchecked") 64 65 Map<String, Integer> valuesMap = (Map<String, Integer>) valuesToEdit; 65 66 if (valuesMap.size() == 1) -
applications/editors/josm/plugins/OpeningHoursEditor/src/org/openstreetmap/josm/plugins/ohe/gui/OheEditor.java
r28477 r29854 15 15 import javax.swing.JScrollPane; 16 16 17 import org.openstreetmap.josm.Main;18 17 import org.openstreetmap.josm.plugins.ohe.ClockSystem; 19 18 import org.openstreetmap.josm.plugins.ohe.OpeningTimeUtils;
Note:
See TracChangeset
for help on using the changeset viewer.