|
|
Re: How to fetch the Semantic model file for a given Notational model file [message #160911 is a reply to message #160687] |
Fri, 16 November 2007 08:18  |
Eclipse User |
|
|
|
Originally posted by: biju_gopinathan.rediffmail.com
Hi Boris Blajer,
Thanks for the help, I will try it
;) Biju
Boris Blajer wrote:
> Hi biju,
>
> You should load it into a resourceset, assume that
> resource.getContents().get(0) instanceof Diagram and, if so,
> use
> org.eclipse.emf.workspace.util.WorkspaceSynchronizer.getFile (diagram.getElement().eResource())
>
>
> (or, in the RCP case, diagram.getElement().eResource().getURI()).
>
> Best regards,
> Boris
>
>
> biju wrote:
>> Hi All,
>>
>>
>> How can we get the Semantic model file for a given Notational
>> model file(digram).
>>
>> Thanks for any Ideas.. :) Biju
|
|
|
Powered by
FUDForum. Page generated in 0.03144 seconds