Skip to main content



      Home
Home » Eclipse Projects » Sirius » XText to Sirius (Create a graphical workbench from Text defined grammar)
XText to Sirius [message #1829276] Tue, 30 June 2020 07:19 Go to next message
Eclipse UserFriend
Hello everyone! I have created a DSL for state machines using XText, and I have also written a sample model of a traffic light. Now i want to create a Sirius workbench , but all the tutorials I am seeing start from an ecore model and not from XText. Can you help me out on how to do that? Thank you
Re: XText to Sirius [message #1829288 is a reply to message #1829276] Tue, 30 June 2020 09:49 Go to previous messageGo to next message
Eclipse UserFriend
Hi

You will find that Xtext creates a *.ecore metamodel in your project.

Regards

Ed Willink
Re: XText to Sirius [message #1831752 is a reply to message #1829288] Fri, 28 August 2020 02:41 Go to previous message
Eclipse UserFriend
Hi,

To start the creation of your Sirius based workbench on top of your XText based DSL , you need to adapt the first steps of the starter tutorial (https://wiki.eclipse.org/Sirius/Tutorials/StarterTutorial) :
- Launch a runtime to simulate the deployment of your DSL
- Domain sample step: create a modeling project and addd in. it a sample file corresponding to your DSL
- Viewpoint Specification Project step: reference the plugin which define your grammar (the one which contains the ecore)
- Define a diagram step : reference the nsUri of your grammar/ecore from the diagram description

Regards

Regards
Previous Topic:Pop-up property view
Next Topic:Nest attributes of class inside container.
Goto Forum:
  


Current Time: Thu Jun 19 13:01:10 EDT 2025

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

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

Back to the top