# EGF Pattern

###### Identifier:

org.eclipse.egf.pattern.pattern

###### Since:

[Enter the first release in which this extension point appears.]

###### Description:

EGF pattern extension point. Used to define patterns and librairies. A library can contain either librairies or patterns (elements). It can also add specific description about how (which order) to use its elements. A pattern is defined by an id and an ecore model (that fully describes the pattern).

###### Configuration Markup:

<!ELEMENT extension (library)>

<!ATTLIST extension

point CDATA #REQUIRED

id CDATA #IMPLIED

name CDATA #IMPLIED

>

<!ELEMENT library (library | pattern)+>

<!ATTLIST library

id CDATA #REQUIRED

name CDATA #REQUIRED

productionOrchestration CDATA #IMPLIED

runtimeOrchestration CDATA #IMPLIED

>

A new pattern library.

- id - The id of the library. A comment on characters that are allowed is needed here.
- name - The name of the library. Shown in the mdsofa explorer (the id being not exposed). A comment on characters that are allowed is needed here.
- productionOrchestration - Defines the way the library should be used when being produced. It contains short library or pattern ids separated by comma (or white space) characters.
- runtimeOrchestration - Defines the way the library should be used when being executed. It contains full library or pattern ids separated by comma (or white space) characters.

<!ELEMENT pattern EMPTY>

<!ATTLIST pattern

id CDATA #REQUIRED

name CDATA #REQUIRED

definition CDATA #REQUIRED

>

A new pattern.

- id - The unique id of the pattern in its containing library. A comment on characters that are allowed is needed here.
- name - The pattern name. A comment on characters that are allowed is needed here.
- definition - The ecore file defining the pattern. Each pattern is a subclass of the Pattern class as provided by the pattern model (pattern.ecore).

###### Examples:

[Enter extension point usage example here.]

###### Supplied Implementation:

[Enter information about supplied implementation of this extension point.]