Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » EMF + GEF
EMF + GEF [message #248242] Fri, 10 April 2009 11:52 Go to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hi,

I know this question have been asked tons of time, but I will ask again:
Is there anywhere a good example of EMF + GEF usage. The only complete
example I found is the shape example and I think it is the worst example
ever !!! I mean it is really confusing : it explains how to make
graphical editor containing shapes on a shape business model...that's
crazy !

Best regards.
Re: EMF + GEF [message #248248 is a reply to message #248242] Fri, 10 April 2009 13:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: alamothe.ptt.yu

exquisitus wrote:
> Hi,
>
> I know this question have been asked tons of time, but I will ask
> again: Is there anywhere a good example of EMF + GEF usage. The only
> complete example I found is the shape example and I think it is the
> worst example ever !!! I mean it is really confusing : it explains
> how to make graphical editor containing shapes on a shape business
> model...that's crazy !
>
> Best regards.

org.eclipse.gef.examples.ediagram is an excellent example.
Re: EMF + GEF [message #248250 is a reply to message #248242] Fri, 10 April 2009 22:32 Go to previous messageGo to next message
Miles Parker is currently offline Miles ParkerFriend
Messages: 1341
Registered: July 2009
Senior Member
Personally, I like it.. you certainly learn the distinction between
edit part and domain objects!

On 2009-04-10 04:52:56 -0700, exquisitus <koudrial@ensieta.fr> said:

> Hi,
>
> I know this question have been asked tons of time, but I will ask again:
> Is there anywhere a good example of EMF + GEF usage. The only complete
> example I found is the shape example and I think it is the worst
> example ever !!! I mean it is really confusing : it explains how to
> make graphical editor containing shapes on a shape business
> model...that's crazy !
>
> Best regards.
Re: EMF + GEF [message #248255 is a reply to message #248242] Sat, 11 April 2009 14:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: annamalai.ancitconsulting.com

Hey Man

Did you try out the IBM RedBook example that talks about EMF + GEF together.

Regards
Malai
"exquisitus" <koudrial@ensieta.fr> wrote in message
news:grnbup$cst$1@build.eclipse.org...
> Hi,
>
> I know this question have been asked tons of time, but I will ask again:
> Is there anywhere a good example of EMF + GEF usage. The only complete
> example I found is the shape example and I think it is the worst example
> ever !!! I mean it is really confusing : it explains how to make graphical
> editor containing shapes on a shape business model...that's crazy !
>
> Best regards.
Re: EMF + GEF [message #248260 is a reply to message #248255] Mon, 13 April 2009 09:30 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hi,

Sure, I tried it and I think it is not well written. I would have
expected a clear step-by-step how-to but all I found is a bunch of
information given an arbitrary order...I don't get it.

Regards.

Malai a écrit :
> Hey Man
>
> Did you try out the IBM RedBook example that talks about EMF + GEF together.
>
> Regards
> Malai
> "exquisitus" <koudrial@ensieta.fr> wrote in message
> news:grnbup$cst$1@build.eclipse.org...
>> Hi,
>>
>> I know this question have been asked tons of time, but I will ask again:
>> Is there anywhere a good example of EMF + GEF usage. The only complete
>> example I found is the shape example and I think it is the worst example
>> ever !!! I mean it is really confusing : it explains how to make graphical
>> editor containing shapes on a shape business model...that's crazy !
>>
>> Best regards.
>
>
Re: EMF + GEF [message #248264 is a reply to message #248260] Mon, 13 April 2009 11:22 Go to previous messageGo to next message
Rodrigo Garcia is currently offline Rodrigo GarciaFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I'm looking for an step by step tutorial too. I'm trying to build my own
grafical editor.

Any source code to look at?

Thanks
Re: EMF + GEF [message #248272 is a reply to message #248242] Mon, 13 April 2009 11:46 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello exquisitus,

I suggest you to try GMf project (http://www.eclipse.org/modeling/gmf/) the
idea of this project is to simplify EMF-based GEF diagram development, so
you can probably use it.

-----------------
Alex Shatalin
Re: EMF + GEF [message #248276 is a reply to message #248272] Mon, 13 April 2009 20:10 Go to previous messageGo to next message
Rodrigo Garcia is currently offline Rodrigo GarciaFriend
Messages: 14
Registered: July 2009
Junior Member
I want to make an editor that paints labeled boxes, with a fixed position,
one below each other. Really it would be like a graphical tree.

How can I make this? what is the better option, using gmf or directly gef?

I'have been looking differents tutorials about gef and gmf but I need more
info to do what I want.

thanks
Re: EMF + GEF [message #248281 is a reply to message #248272] Tue, 14 April 2009 06:57 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hello Alex,

I have used GMF for a while but, unfortunately, it is limited for what I
want to do. I think GMF fits well I you have to develop one view for one
metamodel. In the case you want to develop several views for one
metamodel, you have to get back to GEF. I have read the new book written
by Richard C. Gronback (http://my.safaribooksonline.com/9780321591364)
showing development of BPEL language. In its approach, it mixes several
metamodels, each one dedicated to a view (the examples are available in
the eclipse cvs). I don't think coupling business models and views is a
good approach.

regards.

Alex Shatalin a écrit :
> Hello exquisitus,
>
> I suggest you to try GMf project (http://www.eclipse.org/modeling/gmf/)
> the idea of this project is to simplify EMF-based GEF diagram
> development, so you can probably use it.
>
> -----------------
> Alex Shatalin
>
>
Re: EMF + GEF [message #248286 is a reply to message #248264] Tue, 14 April 2009 07:01 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hi,

it seems that the example mentioned by Nikola is a good one.

regards.

roeclipse a écrit :
> Hi,
>
> I'm looking for an step by step tutorial too. I'm trying to build my own
> grafical editor.
>
> Any source code to look at?
>
> Thanks
>
Re: EMF + GEF [message #248291 is a reply to message #248276] Tue, 14 April 2009 07:02 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
EMF is not enough for that ?

roeclipse a écrit :
> I want to make an editor that paints labeled boxes, with a fixed
> position, one below each other. Really it would be like a graphical tree.
>
> How can I make this? what is the better option, using gmf or directly gef?
>
> I'have been looking differents tutorials about gef and gmf but I need
> more info to do what I want.
>
> thanks
Re: EMF + GEF [message #248296 is a reply to message #248248] Tue, 14 April 2009 07:17 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Finally, it is an improved Shape example. It still mixes concerns. Can
anyone give a good example avoiding mixing concerns ???

regards.

Nikola Mihajlovic a écrit :
> exquisitus wrote:
>> Hi,
>>
>> I know this question have been asked tons of time, but I will ask
>> again: Is there anywhere a good example of EMF + GEF usage. The only
>> complete example I found is the shape example and I think it is the
>> worst example ever !!! I mean it is really confusing : it explains
>> how to make graphical editor containing shapes on a shape business
>> model...that's crazy !
>>
>> Best regards.
>
> org.eclipse.gef.examples.ediagram is an excellent example.
>
>
Re: EMF + GEF [message #248306 is a reply to message #248286] Tue, 14 April 2009 10:00 Go to previous messageGo to next message
Rodrigo Garcia is currently offline Rodrigo GarciaFriend
Messages: 14
Registered: July 2009
Junior Member
Hi,

I've downloaded org.eclipse.gef.examples.ediagram but it has compilation
errors.
Re: EMF + GEF [message #248311 is a reply to message #248306] Tue, 14 April 2009 10:34 Go to previous messageGo to next message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
roeclipse a écrit :
> Hi,
>
> I've downloaded org.eclipse.gef.examples.ediagram but it has compilation
> errors.
>
They are only few of them. You can easily correct them.
Re: EMF + GEF [message #248321 is a reply to message #248276] Tue, 14 April 2009 14:17 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello roeclipse,

If you you need diagram editor capable to modify EMF model (these boxes are
stored there..) then I suggest you using GMF.

-----------------
Alex Shatalin
Re: EMF + GEF [message #248325 is a reply to message #248281] Tue, 14 April 2009 14:22 Go to previous messageGo to next message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello exquisitus,

Well, it's your choice, but I think if you are working with EMF and going
to create diagram editor it definitely make sense to start working with GMF.
You have to solve all these problems even with GEF, so GEF will not help
you to spread different model views across several diagrams... In the same
time it is definitely possible to modify GMF-generated code to make it working
in accordance with the requirements and I’m still thinking that some part
of the jobe will be done for you by GMF (both – framework and generator)..

-----------------
Alex Shatalin
Re: EMF + GEF [message #248367 is a reply to message #248242] Fri, 17 April 2009 06:52 Go to previous message
Ali Koudri is currently offline Ali KoudriFriend
Messages: 118
Registered: July 2009
Senior Member
Hi,

finally, I have found a really good tutorial based on a step by step
example. You can download the learning material following this link:

http://www.ancitconsulting.com/geflearning.htm

Best regards.

exquisitus a écrit :
> Hi,
>
> I know this question have been asked tons of time, but I will ask again:
> Is there anywhere a good example of EMF + GEF usage. The only complete
> example I found is the shape example and I think it is the worst example
> ever !!! I mean it is really confusing : it explains how to make
> graphical editor containing shapes on a shape business model...that's
> crazy !
>
> Best regards.
Previous Topic:How to create PolyLine (as standalone figure)
Next Topic:Palette group backgound change problem
Goto Forum:
  


Current Time: Fri Apr 19 05:44:15 GMT 2024

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

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

Back to the top