Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Xtext Code Navigation(source code navigation in xtext.)
Xtext Code Navigation [message #1774088] Tue, 10 October 2017 07:50 Go to next message
Eclipse UserFriend
I would like to ask how we can do visualization in Xtext. I am writing grammar for ABS language to create its plugin for eclipse. ABS contains features and deltas. I would like to do for example if I click on features it will show me the list of Deltas and If I click on Deltas it will show the list of features ?
Re: Xtext Code Navigation [message #1774099 is a reply to message #1774088] Tue, 10 October 2017 10:47 Go to previous messageGo to next message
Eclipse UserFriend
There are different visualization frameworks that you could consider.
- GEF
- KLighD
- Graphviz
- FXDiagram
- Eclipse Layout Kernel
to name a few.

You may look at tutorials for them and open source projects that make use of them. For example, Franca uses KLighD.
Re: Xtext Code Navigation [message #1774100 is a reply to message #1774099] Tue, 10 October 2017 11:26 Go to previous message
Eclipse UserFriend
Hi

Karsten's recommendations are for (graphical) visualization.

If all you want is a "list", then the basic tree editors as once exemplified by the Sample Ecore Editor and now much enhanced by EEF may be what you are looking for.

Regards

Ed Willink
Previous Topic:Java 8 compatibility for Guice
Next Topic:Xbase Initializing Values in XVariableDeclaration in (Method-) Body
Goto Forum:
  


Current Time: Thu Jul 17 09:12:04 EDT 2025

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

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

Back to the top