Changeset 30083 in osm for applications/editors


Ignore:
Timestamp:
2013-11-24T16:01:53+01:00 (11 years ago)
Author:
donvip
Message:

[josm_opendata] refactor toulouse module

Location:
applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse
Files:
2 edited

Legend:

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

    r29657 r30083  
    1616package org.openstreetmap.josm.plugins.opendata.modules.fr.toulouse;
    1717
    18 import org.openstreetmap.josm.plugins.opendata.core.datasets.DataSetCategory;
    1918import org.openstreetmap.josm.plugins.opendata.core.datasets.fr.FrenchConstants;
    2019
     
    4948     */
    5049    public static final String TOULOUSE_NEPTUNE_XSD = "/neptune_toulouse/neptune.xsd";
    51    
    52     /**
    53      * Categories
    54      */
    55     public static final DataSetCategory CAT_ASSOCIATIONS = new DataSetCategory("Associations", "styles/standard/people.png");
    56     public static final DataSetCategory CAT_CITOYENNETE = new DataSetCategory("Citoyenneté", "presets/townhall.png");
    57     public static final DataSetCategory CAT_CULTURE = new DataSetCategory("Culture", "presets/arts_centre.png");
    58     public static final DataSetCategory CAT_ENFANCE = new DataSetCategory("Enfance", "presets/kindergarten.png");
    59     public static final DataSetCategory CAT_ENVIRONNEMENT = new DataSetCategory("Environnement", "presets/recycling.png");
    60     public static final DataSetCategory CAT_PATRIMOINE = new DataSetCategory("Patrimoine", "presets/ruins.png");
    61     public static final DataSetCategory CAT_SERVICES = new DataSetCategory("Services", "styles/standard/vehicle/services.png");
    62     public static final DataSetCategory CAT_SPORT = new DataSetCategory("Sport", "presets/soccer.png");
    63     public static final DataSetCategory CAT_TOPOGRAPHIE = new DataSetCategory("Topographie", "presets/peak.png");
    64     public static final DataSetCategory CAT_TRANSPORT = new DataSetCategory("Transport", "presets/bus.png");
    65     public static final DataSetCategory CAT_URBANISME = new DataSetCategory("Urbanisme", "presets/places.png");
    6650}
  • applications/editors/josm/plugins/opendata/modules/fr.toulouse/src/org/openstreetmap/josm/plugins/opendata/modules/fr/toulouse/datasets/ToulouseDataSetHandler.java

    r28893 r30083  
    4242import org.openstreetmap.josm.data.osm.event.WayNodesChangedEvent;
    4343import org.openstreetmap.josm.plugins.opendata.OdPlugin;
     44import org.openstreetmap.josm.plugins.opendata.core.datasets.DataSetCategory;
    4445import org.openstreetmap.josm.plugins.opendata.core.datasets.fr.FrenchDataSetHandler;
    4546import org.openstreetmap.josm.plugins.opendata.core.layers.OdDataLayer;
     
    5152public abstract class ToulouseDataSetHandler extends FrenchDataSetHandler implements ToulouseConstants {
    5253   
     54    /**
     55     * Categories
     56     */
     57    public static final DataSetCategory CAT_ASSOCIATIONS = new DataSetCategory("Associations", "styles/standard/people.png");
     58    public static final DataSetCategory CAT_CITOYENNETE = new DataSetCategory("Citoyenneté", "presets/townhall.png");
     59    public static final DataSetCategory CAT_CULTURE = new DataSetCategory("Culture", "presets/arts_centre.png");
     60    public static final DataSetCategory CAT_ENFANCE = new DataSetCategory("Enfance", "presets/kindergarten.png");
     61    public static final DataSetCategory CAT_ENVIRONNEMENT = new DataSetCategory("Environnement", "presets/recycling.png");
     62    public static final DataSetCategory CAT_PATRIMOINE = new DataSetCategory("Patrimoine", "presets/ruins.png");
     63    public static final DataSetCategory CAT_SERVICES = new DataSetCategory("Services", "styles/standard/vehicle/services.png");
     64    public static final DataSetCategory CAT_SPORT = new DataSetCategory("Sport", "presets/soccer.png");
     65    public static final DataSetCategory CAT_TOPOGRAPHIE = new DataSetCategory("Topographie", "presets/peak.png");
     66    public static final DataSetCategory CAT_TRANSPORT = new DataSetCategory("Transport", "presets/bus.png");
     67    public static final DataSetCategory CAT_URBANISME = new DataSetCategory("Urbanisme", "presets/places.png");
     68
    5369    public ToulouseDataSetHandler(int portalId) {
    5470        init(portalId);
Note: See TracChangeset for help on using the changeset viewer.