Home » Modeling » EMF » Xtext based cell editor in EMF
|
Re: Xtext based cell editor in EMF [message #1739087 is a reply to message #1739084] |
Wed, 27 July 2016 13:26 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Phil,
I can only point you at this for how to create a specialized cell editor
in EMF's normal properties view:
https://wiki.eclipse.org/EMF/Recipes#Recipe:_Create_your_own_property_editor_in_a_generated_application
On 27.07.2016 15:18, Phil Hei wrote:
> Hi,
>
> I'm currently trying to integrate a Xtext based cell editor into my
> EMF editor. I already asked at the TMF forum about that
> (https://www.eclipse.org/forums/index.php/t/1079311/), but it's
> probably better to ask EMF specific questions here.
>
> To sum up the thread posted above, I want to use the
> https://github.com/Yakindu/statecharts/blob/master/plugins/org.yakindu.base.xtext.utils.jface/src/org/yakindu/base/xtext/utils/jface/viewers/XtextStyledTextCellEditor.java
> within my EMF editor to make use of the Xtext grammar and the other
> features of Xtext. Unfortunately it doesn't work, while it works with
> other cell editors, e. g. DialogCellEditor.
>
> It seems that they are using this customized cell editor in GMF, so I
> assumed that it also should work for the EMF properties. In the
> meantime, I read an
> https://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html
> that EMF uses another properties view than GMF. Is that the reason why
> it doesn't work or are there any other obstacles, which I've haven't
> considered?
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Xtext based cell editor in EMF [message #1739126 is a reply to message #1739084] |
Wed, 27 July 2016 15:41 |
Ed Willink Messages: 7655 Registered: July 2009 |
Senior Member |
|
|
Hi
Have a look at EMF Forms which provides morre extensibility.
Regards
Ed Willink
On 27/07/2016 14:18, Phil Hei wrote:
> Hi,
>
> I'm currently trying to integrate a Xtext based cell editor into my EMF
> editor. I already asked at the TMF forum about that
> (https://www.eclipse.org/forums/index.php/t/1079311/), but it's probably
> better to ask EMF specific questions here.
>
> To sum up the thread posted above, I want to use the
> https://github.com/Yakindu/statecharts/blob/master/plugins/org.yakindu.base.xtext.utils.jface/src/org/yakindu/base/xtext/utils/jface/viewers/XtextStyledTextCellEditor.java
> within my EMF editor to make use of the Xtext grammar and the other
> features of Xtext. Unfortunately it doesn't work, while it works with
> other cell editors, e. g. DialogCellEditor.
>
> It seems that they are using this customized cell editor in GMF, so I
> assumed that it also should work for the EMF properties. In the
> meantime, I read an
> https://www.eclipse.org/articles/Article-Tabbed-Properties/tabbed_properties_view.html
> that EMF uses another properties view than GMF. Is that the reason why
> it doesn't work or are there any other obstacles, which I've haven't
> considered?
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
|
|
|
Goto Forum:
Current Time: Thu Apr 25 03:31:20 GMT 2024
Powered by FUDForum. Page generated in 0.02849 seconds
|