Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » (no subject)
(no subject) [message #687414] Wed, 08 June 2011 09:45
Eclipse UserFriend
Originally posted by: <forums-noreply

Hi,

I have made a GMF editor, which can load some model elements from other files.
All the files are located in the same workspace.

Take a given model, referencing to many model elements.
I found a very strange behavior about the element URIs.
some model element gives a file uri like:
"file:/C:/Users/xx/runtime-EclipseApplication/.."

some model element gives a platform uri like:
"platform:/resource/.."
or
"../../.." without platform:/resource prefix.

Can anyone explain me the reason, and point me to a unified approach that can get an IFile based on the different uris.

Thank you.

Wei
Previous Topic:Parsing a model (xmi) to get tree view?
Next Topic:Repost : Reload-refresh resource supporting opened editor
Goto Forum:
  


Current Time: Thu Sep 19 00:41:07 GMT 2019

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

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

Back to the top