Changes between Version 63 and Version 64 of DevelopersGuide/DevelopingPlugins


Ignore:
Timestamp:
2012-07-30T10:19:04+02:00 (13 years ago)
Author:
ntg@…
Comment:

org.openstreetmap.josm.gui.MapView.LayerChangedListener seems to be org.openstreetmap.josm.gui.MapView.LayerChangeListener on the code (at least the version I have...))

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/DevelopingPlugins

    v63 v64  
    132132  * '''layer change events'''
    133133
    134   Implement a [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java org.openstreetmap.josm.gui.MapView.LayerChangedListener] and register is using [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java addLayerChangedListener(LayerChangedListener listener)]. JOSM will then notify you about added, removed, and renamed layers. You may only or also register an [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java org.openstreetmap.josm.gui.MapView.EditLayerChangedListener] in which case JOSM will notify the plugin about changes in the current edit layer, in particular whether there is or there isn't a current edit layer.
     134  Implement a [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java org.openstreetmap.josm.gui.MapView.LayerChangedListener] (or [org.openstreetmap.josm.gui.MapView.LayerChangeListener] ) and register is using [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java addLayerChangedListener(LayerChangedListener listener)]. JOSM will then notify you about added, removed, and renamed layers. You may only or also register an [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java org.openstreetmap.josm.gui.MapView.EditLayerChangedListener] in which case JOSM will notify the plugin about changes in the current edit layer, in particular whether there is or there isn't a current edit layer.
    135135
    136136  * '''selection change listener'''