Changes between Version 64 and Version 65 of DevelopersGuide/DevelopingPlugins


Ignore:
Timestamp:
2012-07-30T10:24:54+02:00 (13 years ago)
Author:
stoecker
Comment:

Fix last change

Legend:

Unmodified
Added
Removed
Modified
  • DevelopersGuide/DevelopingPlugins

    v64 v65  
    132132  * '''layer change events'''
    133133
    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.
     134  Implement a [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java org.openstreetmap.josm.gui.MapView.LayerChangeListener] and register it using [source:/trunk/src/org/openstreetmap/josm/gui/MapView.java addLayerChangeListener(LayerChangeListener 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.EditLayerChangeListener] 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'''