Primitive Types Library

Identifier:
com.yakindu.bridges.ea.uml.primitiveTypesLibrary

Since:
1.0.0

Description:
The Enterprise Architect has built-in primitive datatypes for a set of languages including Java, C, C++, C#, Delphi, PHP, VBNet, and Visual Basic. The YAKINDU EA-Bridge already ships Eclipse UML libraries for all of them. In case custom primitive datatypes are added to the EA, this extension point can be used to register a corresponding library.

Configuration Markup:

<!ELEMENT extension (primitivetypelib)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT primitivetypelib EMPTY>

<!ATTLIST primitivetypelib

primitivetype_lib_name    CDATA #REQUIRED

primitivetype_lib_uri     CDATA #REQUIRED

primitivetype_lib_default (true | false) >


Examples:
The following is an example of the extension point:


   <extension point="com.yakindu.bridges.ea.uml.primitiveTypesLibrary">
      <primitivetypelib
            primitivetype_lib_name="MyTypes"
            primitivetype_lib_uri="platform:/plugin/com.examples.types/libs/MyTypes.library.uml">
      </primitivetypelib>
   </extension> 

Please note that the name must match the name of the code engineering language in the EA model. The URI format may either be a pathmap or a platform URI as shown above.