Changing Line Width [message #512292] |
Thu, 04 February 2010 15:15 |
Fred Messages: 14 Registered: November 2009 |
Junior Member |
|
|
Hi,
Through a program I am working through a list of nodes (objects o ) and altering their line color, specifically an instance of their editparts, I use GraphicalEditPart.
IGraphicalEditPart xxx_editPart = (IGraphicalEditPart) o;
xxxx_editPart.getFigure().setForegroundColor(my_color);
What I'd like to do is be able to do the same thing except alter the line width. I see there is a linewidth function I can call but I don't know how to employ it with the approach I'm using. Please help.
Thanks,
F
ps: I've seen this post (and others), just don't know how to implement what I want to do from what I'm getting from the model:
http://www.eclipse.org/forums/index.php?t=tree&goto=1935 06&S=301e66d1a8ad91e60fa09a937426938e
|
|
|
Powered by
FUDForum. Page generated in 0.02814 seconds