Changeset 34102 in osm for applications/editors/josm
- Timestamp:
- 2018-03-25T05:05:21+02:00 (7 years ago)
- Location:
- applications/editors/josm/plugins/eventbus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/eventbus/build.xml
r34000 r34102 5 5 <property name="commit.message" value="Commit message"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="13 265"/>7 <property name="plugin.main.version" value="13558"/> 8 8 9 9 <!-- Configure these properties (replace "..." accordingly). -
applications/editors/josm/plugins/eventbus/src/org/openstreetmap/josm/plugins/eventbus/EventBusPlugin.java
r34043 r34102 180 180 if (layer instanceof OsmDataLayer) { 181 181 ((OsmDataLayer) layer).addLayerStateChangeListener(layerStateChangeListener); 182 DataSet ds = ((OsmDataLayer) layer). data;182 DataSet ds = ((OsmDataLayer) layer).getDataSet(); 183 183 ds.addDataSetListener(dataSetListener); 184 184 ds.addHighlightUpdateListener(highlightUpdateListener); … … 208 208 if (layer instanceof OsmDataLayer) { 209 209 ((OsmDataLayer) layer).removeLayerStateChangeListener(layerStateChangeListener); 210 DataSet ds = ((OsmDataLayer) layer). data;210 DataSet ds = ((OsmDataLayer) layer).getDataSet(); 211 211 ds.removeDataSetListener(dataSetListener); 212 212 ds.removeHighlightUpdateListener(highlightUpdateListener);
Note:
See TracChangeset
for help on using the changeset viewer.