Changeset 31048 in osm for applications/editors/josm/plugins/opendata/modules/fr.toulouse/src
- Timestamp:
- 2015-03-05T18:20:14+01:00 (10 years ago)
- 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 37 37 38 38 public abstract class ToulouseDataSetHandler extends FrenchDataSetHandler implements ToulouseConstants { 39 39 40 40 /** 41 41 * Categories … … 48 48 public static final DataSetCategory CAT_PATRIMOINE = new DataSetCategory("Patrimoine", "presets/ruins.png"); 49 49 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"); 51 51 public static final DataSetCategory CAT_TOPOGRAPHIE = new DataSetCategory("Topographie", "presets/peak.svg"); 52 52 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"); 54 54 55 55 public ToulouseDataSetHandler(int portalId) { 56 56 init(portalId); 57 57 } 58 58 59 59 public ToulouseDataSetHandler(int portalId, String relevantTag) { 60 60 super(relevantTag); 61 61 init(portalId); 62 62 } 63 63 64 64 public ToulouseDataSetHandler(int portalId, boolean relevantUnion, String ... relevantTags) { 65 65 super(relevantUnion, relevantTags); … … 75 75 init(portalId); 76 76 }*/ 77 77 78 78 public ToulouseDataSetHandler(int portalId, boolean relevantUnion, Tag ... relevantTags) { 79 79 super(relevantUnion, relevantTags); … … 84 84 this(portalId, false, relevantTags); 85 85 }*/ 86 86 87 87 private final void init(int portalId) { 88 88 try { … … 116 116 return ICON_CROIX_16; 117 117 } 118 118 119 119 protected final void setWikiPage(String wikiPage) { 120 120 if (wikiPage != null && !wikiPage.isEmpty()) { … … 127 127 } 128 128 } 129 129 130 130 protected abstract class SplitAction extends JosmAction implements DataSetListener { 131 131 132 132 public SplitAction(String name, String desc) { 133 133 super(name, null, desc, null, false); … … 135 135 ToulouseModule.data.addDataSetListener(this); 136 136 } 137 137 138 138 protected abstract Collection<Relation> getBoundaries(); 139 139 140 140 @Override 141 141 public void actionPerformed(ActionEvent e) { … … 191 191 } 192 192 } 193 193 194 194 protected class SplitByMunicipality extends SplitAction { 195 195 public SplitByMunicipality() {
Note:
See TracChangeset
for help on using the changeset viewer.