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 21: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] Tue, 18 September 2012 00:14 Go to previous message
Jeeeyul Lee is currently offline Jeeeyul Lee
Messages: 111
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: Fri Sep 19 06:07:54 GMT 2014

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

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