# EMF Model Validation Custom Event Types

###### Identifier:

org.eclipse.emf.validation.eventTypes

###### Since:

1.1

###### Description:

This extension point allows clients of the EMF Validation framework to define custom event types that describe the custom events that they are interested in validating. It also provides the ability to contribute a notification generator which builds new notifications based on the existing notifications for validation.

###### Configuration Markup:

<!ELEMENT extension (eventType+)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT eventType EMPTY>

<!ATTLIST eventType

name CDATA #REQUIRED

featureSpecific (true | false) "true"

notificationGenerator CDATA #IMPLIED

>

Definition of a custom event type.

- name -

  A non-translatable identifier for the custom event type.

- featureSpecific -

  Whether the event is specific to features only, not to objects.

- notificationGenerator -

  Class that generates custom notifications from a list of raw EMF notifications. This is required when the model implementation does not create the custom events intrinsically.

###### Examples:

[Enter extension point usage example here.]

Copyright (c) 2007 IBM Corporation and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html