Skip to main content



      Home
Home » Eclipse Projects » GEF » connection properties
connection properties [message #82176] Thu, 05 June 2003 04:48 Go to next message
Eclipse UserFriend
Originally posted by: idan_zak2.walla.co.il

How can i change the conection's width and color?
Re: connection properties [message #82294 is a reply to message #82176] Thu, 05 June 2003 10:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

The interface "Connection" was created with ConnectionRouters as the
intended clients. Therefore, all they really need to be able to do is set
the points.

If your ConnectionEditPart is updating its figure, just cast to
PolylineConnection, and call setLineWidth(n);

"Idan" <idan_zak2@walla.co.il> wrote in message
news:bbmsfp$d54$1@rogue.oti.com...
> How can i change the conection's width and color?
>
>
Re: connection properties [message #82795 is a reply to message #82294] Mon, 09 June 2003 04:56 Go to previous message
Eclipse UserFriend
Originally posted by: idan_zak2.walla.co.il

my ConnectionEditPart extend AbstractConnectionEditPart so how can i just
cast it to PolylineConnection?

did you mean that when i create an instance of the connection in a
createConnecion method i should cast it to PolylineConnection?

"Randy Hudson" <none@us.ibm.com> wrote in message
news:bbniqo$2ak$1@rogue.oti.com...
> The interface "Connection" was created with ConnectionRouters as the
> intended clients. Therefore, all they really need to be able to do is set
> the points.
>
> If your ConnectionEditPart is updating its figure, just cast to
> PolylineConnection, and call setLineWidth(n);
>
> "Idan" <idan_zak2@walla.co.il> wrote in message
> news:bbmsfp$d54$1@rogue.oti.com...
> > How can i change the conection's width and color?
> >
> >
>
>
Previous Topic:Edit a Label directly
Next Topic:DND outside the editor
Goto Forum:
  


Current Time: Fri Nov 07 12:00:05 EST 2025

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

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

Back to the top