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
Member
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.
- 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 15:26 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
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: Fri Apr 19 20:11:41 GMT 2024

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

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

Back to the top