Using Xtext's index/linking machinery in a graphical editor [message #909294] |
Thu, 06 September 2012 22:24 |
Hallvard Traetteberg Messages: 673 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
|
|
|
Powered by
FUDForum. Page generated in 0.01941 seconds