mapInterceptor
Identifier:
net.refractions.udig.project.mapInterceptor
Since:
[Enter the first release in which this extension point appears.]
Description:
This extension point allows interceptor actions to be ran:
- When a map is created
- Before a map is opened
- When a layer is added
- When a layer is removed
Configuration Markup:
<!ELEMENT extension (mapCreation* , mapOpening* , layerAdded* , layerRemoved*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT mapCreation EMPTY>
<!ATTLIST mapCreation
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
This element declares an interceptor that will be ran after the map is created but before any layers have been added. So the default map name will have been assigned and the eResource will have already been set on the map.
- id - An id for the extension
- name - A readable name for the interceptor.
- class - The interceptor that will be ran
<!ELEMENT mapOpening EMPTY>
<!ATTLIST mapOpening
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
An interceptor that is ran before a map opens
- id - An id for the extension
- name - A name for the interceptor
- class - The interceptor that will be ran
The layerAdded element is deprecated
<!ELEMENT layerAdded EMPTY>
<!ATTLIST layerAdded
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
See the LayerInterceptor extension point
- id - an id for the extension
- name - A name for the interceptor
- class - The interceptor class.
The layerRemoved element is deprecated
<!ELEMENT layerRemoved EMPTY>
<!ATTLIST layerRemoved
id CDATA #REQUIRED
name CDATA #IMPLIED
class CDATA #REQUIRED>
See the LayerInterceptor extension point
- id - an id for the extension
- name - A name for the interceptor
- class - The interceptor class.
Examples:
[Enter extension point usage example here.]
API Information:
[Enter API information here.]
Supplied Implementation:
[Enter information about supplied implementation of this extension point.]