Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to get objects from a resource from within the ProposalProvider ?(I want to create proposals from the objects available in a specific resource.)
How to get objects from a resource from within the ProposalProvider ? [message #915223] Sun, 16 September 2012 17:28 Go to next message
Olaf Bigalk is currently offline Olaf Bigalk
Messages: 41
Registered: July 2009
Location: Berlin
Member
I want to create proposals from the objects available in a specific resource.
I know I can use the ImportUriGlobalScopeProvider to get the Objects from a resource.
But to do that I need a resource but I only have the URI of that resource.
How can I get the resource for my URI?
Re: How to get objects from a resource from within the ProposalProvider ? [message #915780 is a reply to message #915223] Mon, 17 September 2012 20:14 Go to previous message
Jeeeyul Lee is currently offline Jeeeyul Lee
Messages: 108
Registered: July 2009
Location: Seoul
Senior Member

Why don't you just navigate contents what if you know resource to search?
If you have an URI, you can query resource through ResourceSet.
Previous Topic:Custom Content Assist
Next Topic:Problem with simple grammar
Goto Forum:
  


Current Time: Sat Aug 30 18:43:13 EDT 2014

Powered by FUDForum. Page generated in 0.01604 seconds