Skip to main content



      Home
Home » Eclipse Projects » GEF » How to make the line bold?
How to make the line bold? [message #172495] Fri, 18 March 2005 13:57 Go to next message
Eclipse UserFriend
Originally posted by: slam.x.com

Hi,

I am using chopbox connection:

installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE,
new ConnectionEndpointEditPolicy());

When the line is selected, how do I make the line bold?

Thanks
slam
Re: How to make the line bold? [message #172519 is a reply to message #172495] Fri, 18 March 2005 17:51 Go to previous messageGo to next message
Eclipse UserFriend
PolylineConnection#setLineWidth()

"slam" <slam@x.com> wrote in message news:d1f8a5$67g$1@www.eclipse.org...
> Hi,
>
> I am using chopbox connection:
>
> installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE,
> new ConnectionEndpointEditPolicy());
>
> When the line is selected, how do I make the line bold?
>
> Thanks
> slam
>
>
>
Re: How to make the line bold? [message #172708 is a reply to message #172495] Mon, 21 March 2005 10:30 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

From WireEndpointEditPolicy:

protected void addSelectionHandles(){
super.addSelectionHandles();
getConnectionFigure().setLineWidth(2);
}
protected void removeSelectionHandles(){
super.removeSelectionHandles();
getConnectionFigure().setLineWidth(0);
}

"slam" <slam@x.com> wrote in message news:d1f8a5$67g$1@www.eclipse.org...
> Hi,
>
> I am using chopbox connection:
>
> installEditPolicy(EditPolicy.CONNECTION_ENDPOINTS_ROLE, new
> ConnectionEndpointEditPolicy());
>
> When the line is selected, how do I make the line bold?
>
> Thanks
> slam
>
>
>
Previous Topic:UndoRetargetAction and UndoAction?
Next Topic:Need meta key info
Goto Forum:
  


Current Time: Mon Jul 07 16:17:36 EDT 2025

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

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

Back to the top