Marker Handlers

Identifier:
com.ibm.xtools.emf.validation.core.markerHandlers

Since:
7.0.5

Description:
The marker handler extension point allows the contribution of an implementation which handles the creation and cleaning of markers for a given constraint and marker pair.

For constraint and marker pairs who do not have an associated marker handler, the default handling provided by the IValidationPresenter is used.

Configuration Markup:

<!ELEMENT extension (markerHandler+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT markerHandler EMPTY>

<!ATTLIST markerHandler

constraintId CDATA #REQUIRED

markerType   CDATA #REQUIRED

class        CDATA #REQUIRED>


Examples:


<extension
         point="com.ibm.xtools.emf.validation.core.MarkerHandlers">
      <markerHandler
            class="com.ibm.xtools.emf.validation.core.tests.markerHandlers.TestMarkerHandler"
            constraintId="com.ibm.xtools.emf.validation.core.tests.libraryBatch"
            markerType="testMarkerType">
      </markerHandler>
   </extension>


Supplied Implementation:
The platform itself does not have any predefined markerHandlers. Particular product installs may include markerHandlers as required.


Licensed Materials - Property of IBM
Copyright IBM Corp. 2007, 2008. All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.