Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext Code Navigation(source code navigation in xtext.)
Xtext Code Navigation [message #1774088] Tue, 10 October 2017 11:50 Go to next message
Mohd Danish is currently offline Mohd DanishFriend
Messages: 49
Registered: October 2017
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 14:47 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

There are different visualization frameworks that you could consider.
- 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 15:26 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7492
Registered: July 2009
Senior Member

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.


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

Current Time: Mon Jul 04 07:05:17 GMT 2022

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

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

Back to the top