IResource help [message #33217] |
Fri, 21 November 2003 13:48  |
Eclipse User |
|
|
|
Ed,
How do I get the underlying XSDResource for a given IResource?
thanks,
lp
|
|
|
|
Re: IResource help [message #33286 is a reply to message #33253] |
Fri, 21 November 2003 14:26  |
Eclipse User |
|
|
|
Thanks I had just found it!!
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:3FBE66C7.F101C930@ca.ibm.com...
> Lance
>
> This will return you the EMF Resource for the IResource:
>
>
>
resourceSet.getResource(URI.createPlatformResourceURI(iResou rce.getFullPath(
).toString()),
> true)
>
>
> Lance Phillips wrote:
>
> > Ed,
> > How do I get the underlying XSDResource for a given IResource?
> >
> > thanks,
> >
> > lp
>
|
|
|
Re: IResource help [message #580882 is a reply to message #33217] |
Fri, 21 November 2003 14:25  |
Eclipse User |
|
|
|
Lance
This will return you the EMF Resource for the IResource:
resourceSet.getResource(URI.createPlatformResourceURI(iResou rce.getFullPath().toString()),
true)
Lance Phillips wrote:
> Ed,
> How do I get the underlying XSDResource for a given IResource?
>
> thanks,
>
> lp
|
|
|
Re: IResource help [message #580904 is a reply to message #33253] |
Fri, 21 November 2003 14:26  |
Eclipse User |
|
|
|
Thanks I had just found it!!
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:3FBE66C7.F101C930@ca.ibm.com...
> Lance
>
> This will return you the EMF Resource for the IResource:
>
>
>
resourceSet.getResource(URI.createPlatformResourceURI(iResou rce.getFullPath(
).toString()),
> true)
>
>
> Lance Phillips wrote:
>
> > Ed,
> > How do I get the underlying XSDResource for a given IResource?
> >
> > thanks,
> >
> > lp
>
|
|
|
Powered by
FUDForum. Page generated in 0.06195 seconds