Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Sirius-Xtext: Change the CellEditor of a label to StyledXtextCellEditor
Sirius-Xtext: Change the CellEditor of a label to StyledXtextCellEditor [message #1729777] Mon, 18 April 2016 21:21 Go to next message
Parsa Pourali is currently offline Parsa PouraliFriend
Messages: 210
Registered: February 2014
Senior Member
Hi All,

I was wondering if anyone here has implemented the functionality of using xtext editor on nodes and edges labels, the same way that has been done in Yakindu State Charts tool. I think it is not quite clear that how to to do that on Sirius and which extension points should be used. In this article http://muelder.blogspot.ca/2011/04/xtext-celleditor-integration.html ,Andreas says that it is straight forward. However, I've been trying for weeks and couldn't make it happen.

Generally it is a feature that can bring GMF editors on top of other editors. So it would be good if some experts could make a clear documentation of it. Or if sirius developers could make it as an option in the Sirius description.

Thanks,
Bests,
Parsa
Re: Sirius-Xtext: Change the CellEditor of a label to StyledXtextCellEditor [message #1729804 is a reply to message #1729777] Tue, 19 April 2016 08:15 Go to previous messageGo to next message
Julien Dupont is currently offline Julien DupontFriend
Messages: 172
Registered: July 2009
Senior Member
Hi,

You can maybe find interesting informations on
https://github.com/ObeoNetwork/Xtext-Sirius-integration

For your request about option in the Sirius description, you can create
a request feature on Sirius Bugzilla
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius

Regards,
--
Julien - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Sirius-Xtext: Change the CellEditor of a label to StyledXtextCellEditor [message #1729848 is a reply to message #1729804] Tue, 19 April 2016 13:42 Go to previous message
Parsa Pourali is currently offline Parsa PouraliFriend
Messages: 210
Registered: February 2014
Senior Member
Hi Julien

Thanks for your comments. As far as I know the Sirius-Xtext integration on git that you also provided the link is using embedded editor factory which shows an xtext editor as a popup. I am actually using it and works fine for me. However, what I was looking for, was a label editor using xtext, not showing a popup. e.g. when the user clicks on the label to edit, they can see xtext styling in the label it self. Andreas provided a cell editor component in Yakindu, but I had a really hard time understanding what is going on ! So, I was thinking of having that feature in Sirius description itself would bring a huge competitive advantage to Sirius.

I will raise a feature request in bugzilla Smile

Thanks,
Bests,
Parsa
Previous Topic:Custom LayoutProvider error
Next Topic:Sirius freezing on save operation
Goto Forum:
  


Current Time: Thu Apr 25 11:57:47 GMT 2024

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

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

Back to the top