Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » statically initialized resource set in "Introduction to UML2 Profiles"
statically initialized resource set in "Introduction to UML2 Profiles" [message #628004] Fri, 23 October 2009 10:46
Thomas Neustupny is currently offline Thomas NeustupnyFriend
Messages: 75
Registered: October 2009
Member
Hi,

I'm wondering how the RESOURCE_SET is statically initialized in this article:
http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html

Can this found somewhere? Particularly, I'd like to know how the UML2 metamodel is added to the resource set, so that

resource.getContents()

is nonempty when resource is initialized that way:

URI uri = URI.createURI(UMLResource.UML_METAMODEL_URI);
Resource resource = RESOURCE_SET.getResource(uri, true);

Thanks in advance,
Thomas
Previous Topic:Improved support for static UML profiles.
Next Topic:Possible bug in UML2 Genmodel
Goto Forum:
  


Current Time: Thu Apr 18 11:21:40 GMT 2024

Powered by FUDForum. Page generated in 0.02255 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top