Ideas: Improving the GEF Tutorials [message #206528] |
Tue, 03 January 2006 02:20 |
Axel Rauschmayer Messages: 7 Registered: July 2009 |
Junior Member |
|
|
Being completely new to GEF, I've found it a bit difficult to get started.
Still, the following two articles from the GEF web site helped
tremendously:
(1) "Create an Eclipse-based application using the Graphical Editing
Framework"
(2) "Building a Database Schema Diagram Editor with GEF"
In my taste, though, there is one thing that could be improved about them:
- Motivation: I like direct manipulation, having things work right away so
that I only incrementally have to change and/or add something to move
everything in the direction I want.
- Difficulty: Starting with an Eclipse editor as the foundation of the
tutorials forces both the details of the Eclipse Rich Client Platform and
of GEF on the poor newbie. Add to that commands, edit policies etc. and
things become very complex.
- Solution: I reduced GraphicalEditor to (what I could make out as) its
core: just a Composite that displays figures. That way, I could start
experimenting right away, with a stand-alone SWT application and just try
out graph drawing. Start-up times are much faster than with the RCP and I
can more easily tweak the basic stuff (i.e., displaying and layouting
graphs, not editing them). This is all I initially need, but now I can add
(and find out about) the more complicated features in a stepwise fashion.
If you are interested in the stripped-down version of GraphicalEditor, let
me know. Be warned though, that I performed the changes from a perspective
that is very uninformed about how things work with GEF.
Axel
|
|
|
Re: Ideas: Improving the GEF Tutorials [message #206552 is a reply to message #206528] |
Tue, 03 January 2006 16:45 |
Eclipse User |
|
|
|
Originally posted by: zx.us.ibm.com
The only suggestion I have in regards to this problem is that you need
to learn some Eclipse first, then work on GEF. You tend to build on what
you learn. With power and flexibility of frameworks, comes time in
learning them.
The eclipse wiki has a good section on GEF that explains some of the
more intricate details that is hard to learn from just starting with GEF.
At least you guys have articles and some documentation now :)
Cheers,
~ Chris
|
|
|
|
Re: Ideas: Improving the GEF Tutorials [message #207855 is a reply to message #207412] |
Mon, 23 January 2006 14:38 |
Eclipse User |
|
|
|
Originally posted by: cadu.codetic.com
philip a écrit :
> Sir,
>
> I would like a copy of your stripped down codes. I too have difficulty
> in understanding GEF so I think starting with the minimal one would be
> helpful to me.
>
> My e-mail address is philip.zuniga@gmail.com
>
>
> Thanks a lot
>
I'm also interseted with this sample example.
Could you put it here, please ?
Thanks,
Dav
|
|
|
|
Powered by
FUDForum. Page generated in 0.03060 seconds