[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.gef] Re: How to make the line bold?

From WireEndpointEditPolicy:

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

"slam" <slam@xxxxx> wrote in message news:d1f8a5$67g$1@xxxxxxxxxxxxxxxxxx
> 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
>
>
>