Skip to main content



      Home
Home » Eclipse Projects » GEF » Vector in swt or draw2d
Vector in swt or draw2d [message #135942] Thu, 03 June 2004 04:24 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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/
Re: Vector in swt or draw2d [message #136368 is a reply to message #135942] Fri, 04 June 2004 20:50 Go to previous message
Eclipse UserFriend
Originally posted by: rlemaigr.ulb.ac.be

Hello again Antoine,

here is the url of the uml diagram example I was talking about:
http://www.eclipse.org/articles/Article-GEF-Draw2d/GEF-Draw2 d.html

I hope it will help you,

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/
Previous Topic:Polygon has an empty Figure#primTranslate(int dx, int dy)
Next Topic:ANN: article "Java 2D imaging for the Standard Widget Toolkit"
Goto Forum:
  


Current Time: Fri Jul 18 06:15:45 EDT 2025

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

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

Back to the top