Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[UML2] how to load UML_PRIMITIVE_TYPES_LIBRARY
https://www.eclipse.org/forums/index.php/mv/msg/184283/584776/#msg_584776
another problem, I want to access the UML_Primitive_Lib, so that I can use
the primitive types as type specification.
I tried like this:
URI primitiveTpyeLibURI =
URI.createURI(XMI2UMLResource.UML_PRIMITIVE_TYPES_LIBRARY_UR I);
Model uml2PrimitiveTypesLibrary =
(Model)UML2Util.load(
RESOURCE_SET,
primitiveTpyeLibURI,
UMLPackage.Literals.MODEL);
actually I've tried with many URIs in different classes, but none of work
seemed to be working(i.e. load() always return null).