Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Using GMF without code generation
Using GMF without code generation [message #731823] Mon, 03 October 2011 08:26 Go to next message
Arieh Bibliowicz is currently offline Arieh BibliowiczFriend
Messages: 18
Registered: June 2011
Junior Member
Hi everyone.
I have tried using GMF a number of times but never managed to do so. The
most problematic aspect I found was that the model transformation are in
only one direction, so when I had my model wrong things just could not
evolve... And also the code generated by GMF was simply unreadable.
But still, GMF has very nice graphic properties that are missing from GEF
and I was wondering if there is ANY way to work with GMF like it is done
in GEF (only programming with no models/transformations/etc - except
obviously for the EMF model which is a must).
Thanks

Vainolo
Re: Using GMF without code generation [message #732242 is a reply to message #731823] Tue, 04 October 2011 10:03 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 03/10/2011 10:26, Vainolo wrote:
> Hi everyone.
> I have tried using GMF a number of times but never managed to do so. The
> most problematic aspect I found was that the model transformation are in
> only one direction, so when I had my model wrong things just could not
> evolve... And also the code generated by GMF was simply unreadable.

Please open bug reports and, if you can, provide contributions to
GMF-Tooling to make it better.
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMP

> But still, GMF has very nice graphic properties that are missing from GEF
> and I was wondering if there is ANY way to work with GMF like it is done
> in GEF (only programming with no models/transformations/etc - except
> obviously for the EMF model which is a must).

GMF = GEF + EMF. GMF requires an EMF model, and is efficient to deal
with EMF model. It is a mature API that you can obviously use to write
your own editor code.
Then, just do it ;)

--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Re: Using GMF without code generation [message #733485 is a reply to message #732242] Tue, 04 October 2011 21:16 Go to previous messageGo to next message
Arieh Bibliowicz is currently offline Arieh BibliowiczFriend
Messages: 18
Registered: June 2011
Junior Member
>
> On 03/10/2011 10:26, Vainolo wrote:
> > Hi everyone.
> > I have tried using GMF a number of times but never managed to do so. The
> > most problematic aspect I found was that the model transformation are in
> > only one direction, so when I had my model wrong things just could not
> > evolve... And also the code generated by GMF was simply unreadable.
>
> Please open bug reports and, if you can, provide contributions to
> GMF-Tooling to make it better.
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMP
Before I start reporting bugs I would like to learn more about the
framework but sadly have found little documentation. Can you give me any
pointers?

>
> > But still, GMF has very nice graphic properties that are missing from GEF
> > and I was wondering if there is ANY way to work with GMF like it is done
> > in GEF (only programming with no models/transformations/etc - except
> > obviously for the EMF model which is a must).
>
> GMF = GEF + EMF. GMF requires an EMF model, and is efficient to deal
> with EMF model. It is a mature API that you can obviously use to write
> your own editor code.
> Then, just do it ;)
It is not only GEF+EMF. There seems to be a lot of extra complexity doing
the connections that has been really hard for me to understand. Again,
any pointers? The tutorials in the web are a bit outdated...
Thanks

Vainolo
Re: Using GMF without code generation [message #733636 is a reply to message #733485] Wed, 05 October 2011 09:06 Go to previous message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 04/10/2011 23:16, Vainolo wrote:
>
>>
>> On 03/10/2011 10:26, Vainolo wrote:
>>> Hi everyone.
>>> I have tried using GMF a number of times but never managed to do so. The
>>> most problematic aspect I found was that the model transformation are in
>>> only one direction, so when I had my model wrong things just could not
>>> evolve... And also the code generated by GMF was simply unreadable.
>>
>> Please open bug reports and, if you can, provide contributions to
>> GMF-Tooling to make it better.
>> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=GMP
> Before I start reporting bugs I would like to learn more about the
> framework but sadly have found little documentation. Can you give me any
> pointers?

http://wiki.eclipse.org/Graphical_Modeling_Framework

>>
>>> But still, GMF has very nice graphic properties that are missing from GEF
>>> and I was wondering if there is ANY way to work with GMF like it is done
>>> in GEF (only programming with no models/transformations/etc - except
>>> obviously for the EMF model which is a must).
>>
>> GMF = GEF + EMF. GMF requires an EMF model, and is efficient to deal
>> with EMF model. It is a mature API that you can obviously use to write
>> your own editor code.
>> Then, just do it ;)
> It is not only GEF+EMF. There seems to be a lot of extra complexity doing
> the connections that has been really hard for me to understand. Again,
> any pointers? The tutorials in the web are a bit outdated...

Without details, I can't help you, but there is probably something
helpful in the wiki.


--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Previous Topic:Many to Many and Compartments
Next Topic:parallel opened diagrams - delete not working
Goto Forum:
  


Current Time: Thu Mar 28 12:09:21 GMT 2024

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

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

Back to the top