Skip to main content



      Home
Home » Modeling » TMF (Xtext) » How i load resources dynamically
How i load resources dynamically [message #757766] Mon, 21 November 2011 10:08 Go to next message
Eclipse UserFriend
Hello,

i want to build an editor which can dynamically load references from an XML. This xml can be parsed with the corresponding xsd which i already have as a DSL.
In this XML there are certain keywords like "output_1" or "input_3" which are only present in this xml. So if i work on a set of XMLs i want to use these keywords on ctrl+space.
Furthermore it should combine the "normal" model i have written. So i have a "language" which shall use dynamic keywords from another source.

How can i fill the scoping dynamically?

Thanks for any help.
Re: How i load resources dynamically [message #758061 is a reply to message #757766] Mon, 21 November 2011 15:28 Go to previous message
Eclipse UserFriend
Hi,

maybe some xsd2ecore + an iresourceserviceprovider will do the trick - it will at least work with a custom file extension for the xml files.

~Christian
Previous Topic:Grammar problem (newbie)
Next Topic:[Xtend2] Builder Pattern: Cross References
Goto Forum:
  


Current Time: Tue Jul 08 18:27:38 EDT 2025

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

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

Back to the top