Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » How to change the color of a link
How to change the color of a link [message #55946] Tue, 26 September 2006 15:53 Go to next message
Eclipse UserFriend
Originally posted by: contact.noelios.com

I'm trying to change a rather basic aspect of my diagrams, the link
color, from the default grey to black.

I've tried to set the foreground color (new Child | Foreground Color RGB
Color) of my polyline in the GMF Graph with no success.

Any suggestion or pointer?

Thanks,
Jerome
Re: How to change the color of a link [message #55976 is a reply to message #55946] Tue, 26 September 2006 16:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: snej_NO-SPAM_.esuark.de

Jerome Louvel wrote:
> I've tried to set the foreground color (new Child | Foreground Color RGB
> Color) of my polyline in the GMF Graph with no success.

Did you try "Background Color RGB"?
Foreground Color is afaik only for text (label from connection) and
stuff like that. The color the line is drawn with should be the
background color ...

Jens
Re: How to change the color of a link [message #56223 is a reply to message #55976] Wed, 27 September 2006 10:10 Go to previous message
Eclipse UserFriend
Originally posted by: contact.noelios.com

Thanks Jens for the feed-back. Actually, it is the Foreground Color
property that must be used. What led me to a false conclusion is that
you need to recreate links in order to see their new default color, or
to create new links to test the color change...

--
Jerome Louvel
http://www.noelios.com


Jens Krause a écrit :
> Jerome Louvel wrote:
>> I've tried to set the foreground color (new Child | Foreground Color
>> RGB Color) of my polyline in the GMF Graph with no success.
>
> Did you try "Background Color RGB"?
> Foreground Color is afaik only for text (label from connection) and
> stuff like that. The color the line is drawn with should be the
> background color ...
>
> Jens
Previous Topic:constraining node movement/resize
Next Topic:maintenance release for gmf 1.0?
Goto Forum:
  


Current Time: Fri Mar 29 08:01:24 GMT 2024

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

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

Back to the top