Changeset 22454 in osm
- Timestamp:
- 2010-07-27T21:17:42+02:00 (14 years ago)
- Location:
- applications/editors/josm/plugins/tagging-preset-tester
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/tagging-preset-tester/build.xml
r21797 r22454 18 18 ** 19 19 ** To build against the core in ../../core, create a correct manifest and deploy to 20 ** SVN, 20 ** SVN, 21 21 ** set the properties commit.message and plugin.main.version 22 22 ** and run … … 29 29 30 30 <property name="commit.message" value="Changed the constructor signature of the plugin main class" /> 31 <property name="plugin.main.version" value="33 27" />31 <property name="plugin.main.version" value="3388" /> 32 32 33 33 … … 89 89 90 90 <!-- 91 ************************** Publishing the plugin *********************************** 91 ************************** Publishing the plugin *********************************** 92 92 --> 93 93 <!-- 94 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 94 ** extracts the JOSM release for the JOSM version in ../core and saves it in the 95 95 ** property ${coreversion.info.entry.revision} 96 96 ** … … 141 141 142 142 <!-- 143 ** commits the plugin.jar 143 ** commits the plugin.jar 144 144 --> 145 145 <target name="commit-dist"> 146 146 <echo> 147 147 ***** Properties of published ${plugin.jar} ***** 148 Commit message : '${commit.message}' 148 Commit message : '${commit.message}' 149 149 Plugin-Mainversion: ${plugin.main.version} 150 150 JOSM build version: ${coreversion.info.entry.revision} 151 151 Plugin-Version : ${version.entry.commit.revision} 152 ***** / Properties of published ${plugin.jar} ***** 153 152 ***** / Properties of published ${plugin.jar} ***** 153 154 154 Now commiting ${plugin.jar} ... 155 155 </echo> -
applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingCellRenderer.java
r13569 r22454 12 12 import javax.swing.JList; 13 13 14 import org.openstreetmap.josm.gui.tagging.TaggingPreset; 14 15 import org.openstreetmap.josm.tools.ImageProvider; 15 import org.openstreetmap.josm.gui.tagging.TaggingPreset;16 16 17 17 final public class TaggingCellRenderer extends DefaultListCellRenderer { … … 40 40 l.setIcon(ImageProvider.get("data", "object")); 41 41 else 42 l.setIcon(ImageProvider.get( "Mf_" + a.types.get(0)));42 l.setIcon(ImageProvider.get(a.types.iterator().next().getIconName())); 43 43 } 44 44 l.setOpaque(true);
Note:
See TracChangeset
for help on using the changeset viewer.