Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Using Xtext's index/linking machinery in a graphical editor
Using Xtext's index/linking machinery in a graphical editor [message #909294] Thu, 06 September 2012 22:24
Hallvard Traetteberg is currently offline Hallvard TraettebergFriend
Messages: 672
Registered: July 2009
Location: Trondheim, Norway
Senior Member
Hi,

I have a DSL based on Xtext and Xbase which I want to integrate with a
graphical editor. The graphically edited elements provide a context for
the text editor, among others provding types that will be used by the
text editor. The types will be typed in using direct editing, a property
sheet or by other means.

Now I would like to 1) embed an xtext editor and 2) utilize the (same)
index/linking machinery that Xtext uses for the editor, when resolving
the type(name)s in the graphical editor. I assume I will need an
XtextResource(Set), but I'm unsure how to link the graphical editor's
Resources to the one used by xtext and how to utilize the index for the
graphical editor. Pointers anyone?

Hallvard
Previous Topic:Accessing the resource set from other plugin
Next Topic:Howto load multiple concrete syntax instances
Goto Forum:
  


Current Time: Sat Dec 05 12:39:20 GMT 2020

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

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

Back to the top