Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [EEF] Integration with custom Editor(How to integrate EEF generated code with a customized editor)
[EEF] Integration with custom Editor [message #660008] Wed, 16 March 2011 14:29 Go to next message
Aur is currently offline AurFriend
Messages: 29
Registered: August 2010
Junior Member
Hi,

I am working on a project in which I defined a customized multi-page editor. I'd like to know if there is a wiki page / tutorial that explain how to use EEF generated source code with a customized editor.

I read on the project's wiki:
Quote:
The generated elements can be integrated in any SWT/JFace components to ease the EMF model based editing
but I didn't find a way to manage that ...

I saw that many extension-points are registered in order to provide a property view for each model component.

So if someone could give me some track, that will be really helpful.
Re: [EEF] Integration with custom Editor [message #660480 is a reply to message #660008] Fri, 18 March 2011 15:18 Go to previous messageGo to next message
Nathalie  is currently offline Nathalie Friend
Messages: 22
Registered: July 2009
Junior Member
Hi,

Is your customized editor an EMF editor?
Re: [EEF] Integration with custom Editor [message #663570 is a reply to message #660008] Tue, 05 April 2011 16:41 Go to previous messageGo to next message
Goulwen Le Fur is currently offline Goulwen Le FurFriend
Messages: 125
Registered: July 2009
Senior Member
Hi Aurelien,

Le 16/03/2011 15:29, Aurelien Mariage a écrit :
> Hi,
>
> I am working on a project in which I defined a customized multi-page
> editor. I'd like to know if there is a wiki page / tutorial that explain
> how to use EEF generated source code with a customized editor.
>
> I read on the project's wiki:
> Quote:
>> The generated elements can be integrated in any SWT/JFace components
>> to ease the EMF model based editing
> but I didn't find a way to manage that ...
>
> I saw that many extension-points are registered in order to provide a
> property view for each model component.
> So if someone could give me some track, that will be really helpful.

There isn't documentation about this for the moment. Try to use the
"Generate EEF Editor" from your ecore file popups and you can see the
first result of the generation.

Regards,

--
Goulwen
Re: [EEF] Integration with custom Editor [message #663735 is a reply to message #660008] Wed, 06 April 2011 11:09 Go to previous message
Aur is currently offline AurFriend
Messages: 29
Registered: August 2010
Junior Member
Thanks for your answer, I finally found a way to integrate the EEF components with my custom editor. It is a bit tricky but I managed to do it after having parse the generated code.

I also added a Widget by providing some Acceleo templates and using an extension point. Concerning this fact, maybe you can help me, I'm facing a problem with the deployment of my plug-in. If I run a new Eclipse instance my templates are correctly used by EEF, but if I try to export my plugin and paste it in the dropins folder, it doesn't work.

I posted a message at the end of the following post here in which I explained my problem in detail.

Thanks for this fabulous tool Smile

Previous Topic:EMF AdapterFactory and EEF Editor
Next Topic:JET Template problem accesing to EAnnotation
Goto Forum:
  


Current Time: Fri Mar 29 02:09:49 GMT 2024

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

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

Back to the top