[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
Newsgroup Home
]
[news.eclipse.modeling.mdt] [UML2] how to load UML_PRIMITIVE_TYPES_LIBRARY
From
:
zhuj@xxxxxxxxx
(Jinhui )
Date
: Mon, 3 Mar 2008 18:16:55 +0000 (UTC)
Newsgroups
:
eclipse.modeling.mdt
Organization
: Eclipse
User-agent
: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hello,
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_URI);
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).
--XMI2UMLResource
* UML_PRIMITIVE_TYPES_LIBRARY_2_1_URI
* UML_PRIMITIVE_TYPES_LIBRARY_URI
--UMLResource
* UML_PRIMITIVE_TYPES_LIBRARY_URI
--UML22UMLResource
* UML2_PRIMITIVE_TYPES_LIBRARY_URI
Any one has any idea? best Regards. Jinhui
Follow-Ups
:
[news.eclipse.modeling.mdt] Re: [UML2] how to load UML_PRIMITIVE_TYPES_LIBRARY
From:
Kenn Hussey
Prev by Date:
[news.eclipse.modeling.mdt] [UML2] programmatically set the type of a newly created Parameter???
Next by Date:
[news.eclipse.modeling.mdt] Re: [UML2] programmatically set the type of a newly created Parameter???
Previous by thread:
[news.eclipse.modeling.mdt] [UML2] programmatically set the type of a newly created Parameter???
Next by thread:
[news.eclipse.modeling.mdt] Re: [UML2] how to load UML_PRIMITIVE_TYPES_LIBRARY
Index(es):
Date
Thread