Ignore:
Timestamp:
2010-07-27T21:17:42+02:00 (14 years ago)
Author:
jttt
Message:

Adapt to latest josm

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  
    1818**
    1919** To build against the core in ../../core, create a correct manifest and deploy to
    20 ** SVN, 
     20** SVN,
    2121**    set the properties commit.message and plugin.main.version
    2222** and run
     
    2929
    3030        <property name="commit.message" value="Changed the constructor signature of the plugin main class" />
    31         <property name="plugin.main.version" value="3327" />
     31        <property name="plugin.main.version" value="3388" />
    3232
    3333
     
    8989
    9090        <!--
    91          ************************** Publishing the plugin *********************************** 
     91         ************************** Publishing the plugin ***********************************
    9292        -->
    9393        <!--
    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
    9595        ** property ${coreversion.info.entry.revision}
    9696        **
     
    141141
    142142        <!--
    143         ** commits the plugin.jar 
     143        ** commits the plugin.jar
    144144        -->
    145145        <target name="commit-dist">
    146146                <echo>
    147147***** Properties of published ${plugin.jar} *****
    148 Commit message    : '${commit.message}'                                 
     148Commit message    : '${commit.message}'
    149149Plugin-Mainversion: ${plugin.main.version}
    150150JOSM build version: ${coreversion.info.entry.revision}
    151151Plugin-Version    : ${version.entry.commit.revision}
    152 ***** / Properties of published ${plugin.jar} *****                                     
    153                                        
     152***** / Properties of published ${plugin.jar} *****
     153
    154154Now commiting ${plugin.jar} ...
    155155</echo>
  • applications/editors/josm/plugins/tagging-preset-tester/src/org/openstreetmap/josm/plugins/taggingpresettester/TaggingCellRenderer.java

    r13569 r22454  
    1212import javax.swing.JList;
    1313
     14import org.openstreetmap.josm.gui.tagging.TaggingPreset;
    1415import org.openstreetmap.josm.tools.ImageProvider;
    15 import org.openstreetmap.josm.gui.tagging.TaggingPreset;
    1616
    1717final public class TaggingCellRenderer extends DefaultListCellRenderer {
     
    4040                l.setIcon(ImageProvider.get("data", "object"));
    4141            else
    42                 l.setIcon(ImageProvider.get("Mf_" + a.types.get(0)));
     42                l.setIcon(ImageProvider.get(a.types.iterator().next().getIconName()));
    4343        }
    4444        l.setOpaque(true);
Note: See TracChangeset for help on using the changeset viewer.