Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Creating some part of models textually
Creating some part of models textually [message #1403461] Wed, 23 July 2014 20:51 Go to next message
Arunkumar Ramaswamy is currently offline Arunkumar RamaswamyFriend
Messages: 57
Registered: April 2014
Member
I want to edit some part of the model using a textual language.
Can anyone give me hint how i can proceed if my textual language is based on xtext.
My usecase is if select a node in diagram layer, i should edit that model from text pane.

Any help much appreciated.

Arun
Re: Creating some part of models textually [message #1403494 is a reply to message #1403461] Thu, 24 July 2014 07:45 Go to previous messageGo to next message
Alex Lagarde is currently offline Alex LagardeFriend
Messages: 193
Registered: May 2010
Senior Member

Hi,

first of all, a quick and easy way to meet your need would be to create
a DoubleClickTool that opens an Xtext editor on the semantic element.

If you really want to open an Xtext editor directly inside the diagram,
you may have a look at this Github project
https://github.com/ObeoNetwork/Xtext-Sirius-integration

Please let me know if you have further questions,
Regards,
Alex
Re: Creating some part of models textually [message #1403531 is a reply to message #1403494] Thu, 24 July 2014 10:08 Go to previous message
Arunkumar Ramaswamy is currently offline Arunkumar RamaswamyFriend
Messages: 57
Registered: April 2014
Member
Thanks Alex, I will try that.
Arun
Previous Topic:[Edge] Problem with Edge creation
Next Topic:Model operation for adding reference
Goto Forum:
  


Current Time: Thu Apr 25 15:20:53 GMT 2024

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

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

Back to the top