Stereotype Resolution Strategy
Identifier:
com.yakindu.bridges.ea.uml.stereotypeResolutionStrategy
Since:
1.0.0
Description:
The Enterprise Architect defines several stereotypes that are mapped to first-level UML concepts such as <<enumeration>> and <<signal>>.
Other stereotypes defined by EA such as <<struct>> and <<typedef>> cannot be mapped to first-level UML concepts. Hence, they cannot be interpreted properly.
Using this extension point, clients may define resolution strategies for unknown stereotypes and map them to existing stereotypes in profiles.
This may either be stereotypes defined by the EA or custom stereotypes.
The default strategy is provided with priority 0 and works as follows. If there is exactly one stereotype in all registered Eclipse UML profiles with the name of an unknown stereotype in EA, then this stereotype is applied; otherwise no stereotype is applied.
Configuration Markup:
<!ELEMENT extension (stereotyperesolution)+>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
<!ELEMENT stereotyperesolution EMPTY>
<!ATTLIST stereotyperesolution
stereotype_resolution CDATA #REQUIRED>
- stereotype_resolution - The steretype resolver class must implement the IStereotypeResolver interface.
Examples:
The following is an example of the extension point:
<extension point="com.yakindu.bridges.ea.uml.stereotypeResolutionStrategy">
<stereotyperesolution stereotype_resolution="com.examples.stereotypes.MyStereotypeResolver" />
</extension>