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 06:46
Thomas Neustupny is currently offline Thomas Neustupny
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: Sat Aug 30 16:42:44 EDT 2014

Powered by FUDForum. Page generated in 0.04884 seconds