Poll: Articles to be written on using GEF [message #18062] |
Tue, 27 August 2002 00:04 |
Eclipse User |
|
|
|
Originally posted by: hudsonr.spam.com
I would like to take a poll to know which subjects should be covered first
in our reference section. Examples might include:
Creating connections in GEF
Using the Platform (SWT) Drag and Drop support w/GEF
How to extend keyboard support in GEF
Using "Direct Edit" in GEF
Creating complex figures in draw2d
|
|
|
|
Re: Articles to be written on using GEF [message #18105 is a reply to message #18075] |
Tue, 27 August 2002 14:59 |
Eclipse User |
|
|
|
Originally posted by: hudsonr.spam.com
Please describe what you consider to be a complex figure. I was thinking of
things like a UML class (with title, attributes, and operations), or a Node,
consisting of an Image, Text, and multiple decorations on the Image. The
"take home message" would be that you should avoid overriding validate() or
setBounds() on your figure, and maybe how to avoid coupling between the
figure and editpart/model.
"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> wrote in message
news:akf2s2$qvm$1@rogue.oti.com...
> "Randy Hudson" <hudsonr@spam.com> schrieb im Newsbeitrag
> news:akef2p$k57$1@rogue.oti.com...
>
> > Creating complex figures in draw2d
>
> I would like to have more information about this. I don't have an idea how
> this could be realized today.
>
> Thanks, Gunnar
>
>
|
|
|
|
Re: Poll: Articles to be written on using GEF [message #19188 is a reply to message #18062] |
Mon, 09 September 2002 21:07 |
David J. Orme Messages: 291 Registered: July 2009 |
Senior Member |
|
|
Randy Hudson wrote:
> I would like to take a poll to know which subjects should be covered first
> in our reference section. Examples might include:
>
> Creating connections in GEF
> Using the Platform (SWT) Drag and Drop support w/GEF
> How to extend keyboard support in GEF
> Using "Direct Edit" in GEF
> Creating complex figures in draw2d
>
>
Here are two suggestions:
1) How to properly subclass Figure.
2) Subclassing Figure for use in GEF diagrams.
But before you do that, completed Javadoc would also be greatly
appreciated. For example, from ImageCache:
>>>
checkout
public static Image checkout(Dimension d,
Object o)
Returns an image that is at least as big as the desired size. NOTE: (1)
The client should not dispose the image that is checked out (2) However,
the client should check the image back in when done (3) The given
dimension will not be modified by this method (4) The client should not
use the returned image's bounds for anything (since the returned image
could be bigger than requested) (5) If the size of the image is too big,
and the image cannot be created, this method will return null
Parameters:
d - The desired size of the image to be checked out
<<<
This is a pretty nice entry, however, what is the Object o parameter
used for? This Javadoc entry is frustrating for two reasons: (1) @param
o isn't documented at all (2) @param o's name is not meaningful.
Thanks in advance,
Dave
--
Dave Orme
Advanced Systems Concepts
http://www.asc-iseries.com
|
|
|
Re: Poll: Articles to be written on using GEF [message #19318 is a reply to message #19188] |
Tue, 10 September 2002 14:29 |
Eclipse User |
|
|
|
Originally posted by: hudsonr.us.eye-bee-em.com
> 1) How to properly subclass Figure.
> 2) Subclassing Figure for use in GEF diagrams.
Thanks for the suggestions.
> But before you do that, completed Javadoc would also be greatly
I understand your frustration. We are working on this whenever we can.
> appreciated. For example, from ImageCache:
org.eclipse.draw2d.util package is not exported by the plugin. We should
rename this package to internal.
|
|
|
|
Re: Articles to be written on using GEF [message #19501 is a reply to message #18062] |
Wed, 11 September 2002 09:59 |
Eclipse User |
|
|
|
Originally posted by: amode.arrakis.es
That articles are OK ! But I think it would be interesting for the beginners
in GEF like me to write a small tutotial about building a graphical editor
with GEF step by step. It isn't necessary the example editor be complex. If
this tutorial exists now, please tell me where it is.
Thank you !
|
|
|
Powered by
FUDForum. Page generated in 0.02696 seconds