# Model definition extensions

###### Identifier:

model.definition.enrichment

###### Since:

4.4

###### Description:

This is not an API. The schema for this extension point is not frozen and might change in a non-backward compatible way in the future.

This extension point provides a mechanism to enrich the UI model with custom UI model elements.

To find and create a custom UI model element via the EModelService#createModelElement(Class) method the elements have to be publisched via this ExtensionPoint.

###### Configuration Markup:

<!ELEMENT extension (definitionEnrichment)+>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED>

<!ELEMENT definitionEnrichment EMPTY>

<!ATTLIST definitionEnrichment

ePackageNS CDATA #REQUIRED>

- ePackageNS - A namespace URI to the EPackage which contains custom application model classes.

###### Examples:

The following is an example to register a model definiton enrichment:

Copyright (c) 2014 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