Vector in swt or draw2d [message #135942] |
Thu, 03 June 2004 04:24  |
Eclipse User |
|
|
|
Originally posted by: misterfunkyman.hotmail.com
Hi all, i would like to use a vector class for my SWT/draw2d application
but i don't know which class it is... thanks for helping me, i'm new to
eclipse...
Antoine
|
|
|
Re: Vector in swt or draw2d [message #136358 is a reply to message #135942] |
Fri, 04 June 2004 20:18   |
Eclipse User |
|
|
|
Originally posted by: rlemaigr.ulb.ac.be
What do you mean by vector ?
A graphical arrow ?
If it is a graphical arrow, does your vector binds two figures or is it =
=
floating in the middle of nowhere ?
If it binds two figures, then you should use the class PolylineConnectio=
n =
with some decorations. There is an example of this in the doc of draw2d =
=
and in the uml diagram example. If you need explanations about Polyline =
=
and PolylineConnections, you can ask them here if you want because it is=
=
not as simple as it seems...
If it is floating in the middle of nowhere, I don't know exactly. You =
could try to use a Polyline with decorations. But I don't know if it wil=
l =
scroll properly if your diagram is in a ScrollPane...
That's all I can tell you, you will have to wait for a better answer if =
=
your are not satisfied.
r=E9gis
On Thu, 3 Jun 2004 08:24:36 +0000 (UTC), Antoine =
<misterfunkyman@hotmail.com> wrote:
> Hi all, i would like to use a vector class for my SWT/draw2d applicati=
on
> but i don't know which class it is... thanks for helping me, i'm new t=
o
> eclipse...
>
> Antoine
>
-- =
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02664 seconds