Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Changing Line Width
Changing Line Width [message #512292] Thu, 04 February 2010 15:15
Fred  is currently offline Fred Friend
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
Previous Topic:ReparentCommand never allowed
Next Topic:Scalable polygon resize problem
Goto Forum:
  


Current Time: Sun Apr 18 22:24:24 GMT 2021

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

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

Back to the top