<!ELEMENT extension (layerCreated* , layerAdded* , layerRemoved*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT layerCreated EMPTY>
<!ATTLIST layerCreated
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
An interceptor that will be ran when a layer is created. This is only ran if the layer is created by a Map's LayerFactory class. Not ProjectPackage's createLayer() methods.
<!ELEMENT layerAdded EMPTY>
<!ATTLIST layerAdded
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
An interceptor that will be ran when a layer is added to a map.
<!ELEMENT layerRemoved EMPTY>
<!ATTLIST layerRemoved
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
An interceptor that will be ran when a layer is about to be removed from a map. The method is called before the layer has been removed.