Ignore:
Timestamp:
2015-03-05T18:20:14+01:00 (10 years ago)
Author:
donvip
Message:

[josm_opendata] fix EDT violations and wrong png image paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/ToulouseDataSetHandler.java

    r30340 r31048  
    3737
    3838public abstract class ToulouseDataSetHandler extends FrenchDataSetHandler implements ToulouseConstants {
    39    
     39
    4040    /**
    4141     * Categories
     
    4848    public static final DataSetCategory CAT_PATRIMOINE = new DataSetCategory("Patrimoine", "presets/ruins.png");
    4949    public static final DataSetCategory CAT_SERVICES = new DataSetCategory("Services", "styles/standard/vehicle/services.png");
    50     public static final DataSetCategory CAT_SPORT = new DataSetCategory("Sport", "presets/soccer.png");
     50    public static final DataSetCategory CAT_SPORT = new DataSetCategory("Sport", "styles/standard/sport/soccer.png");
    5151    public static final DataSetCategory CAT_TOPOGRAPHIE = new DataSetCategory("Topographie", "presets/peak.svg");
    5252    public static final DataSetCategory CAT_TRANSPORT = new DataSetCategory("Transport", "presets/bus.png");
    53     public static final DataSetCategory CAT_URBANISME = new DataSetCategory("Urbanisme", "presets/places.png");
     53    public static final DataSetCategory CAT_URBANISME = new DataSetCategory("Urbanisme", "styles/standard/place/settlement/city.png");
    5454
    5555    public ToulouseDataSetHandler(int portalId) {
    5656        init(portalId);
    5757    }
    58    
     58
    5959    public ToulouseDataSetHandler(int portalId, String relevantTag) {
    6060        super(relevantTag);
    6161        init(portalId);
    6262    }
    63    
     63
    6464    public ToulouseDataSetHandler(int portalId, boolean relevantUnion, String ... relevantTags) {
    6565        super(relevantUnion, relevantTags);
     
    7575        init(portalId);
    7676    }*/
    77    
     77
    7878    public ToulouseDataSetHandler(int portalId, boolean relevantUnion, Tag ... relevantTags) {
    7979        super(relevantUnion, relevantTags);
     
    8484        this(portalId, false, relevantTags);
    8585    }*/
    86    
     86
    8787    private final void init(int portalId) {
    8888        try {
     
    116116        return ICON_CROIX_16;
    117117    }
    118    
     118
    119119    protected final void setWikiPage(String wikiPage) {
    120120        if (wikiPage != null && !wikiPage.isEmpty()) {
     
    127127        }
    128128    }
    129    
     129
    130130    protected abstract class SplitAction extends JosmAction implements DataSetListener {
    131        
     131
    132132        public SplitAction(String name, String desc) {
    133133            super(name, null, desc, null, false);
     
    135135            ToulouseModule.data.addDataSetListener(this);
    136136        }
    137        
     137
    138138        protected abstract Collection<Relation> getBoundaries();
    139        
     139
    140140        @Override
    141141        public void actionPerformed(ActionEvent e) {
     
    191191        }
    192192    }
    193    
     193
    194194    protected class SplitByMunicipality extends SplitAction {
    195195        public SplitByMunicipality() {
Note: See TracChangeset for help on using the changeset viewer.