Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Resource from non UML2 uml model
Resource from non UML2 uml model [message #626193] Wed, 12 March 2008 00:31
Eclipse UserFriend
Originally posted by:

Resource resource = RESOURCE_SET.getResource(uri, true);

This is the line I use to create a resouce for a .uml file. This works
properly when the .uml file was created with the UML2 editor. However, when
the .uml file is created with a different UML program, Altova to be
specific, I notice that the "contents" array of the Resource object is
empty. So next when i call,

Package thePackage =

,then "thePackage" is "null" because the contents of the Resource are
empty. I don't understand why the Resource contents only get filled in with
..uml files created with the UML2 editor and not by .uml files created by a
different editor. Its important that I can create a Resource from uml models
made by other programs besides UML2.
Previous Topic:EMF and UML2 M5 install issue
Next Topic:UML2 for activity&composite diagram?
Goto Forum:

Current Time: Mon Aug 15 17:19:19 GMT 2022

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

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

Back to the top