Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Border & Links color
Border & Links color [message #197550] Thu, 17 July 2008 08:24 Go to next message
Patry Olivier is currently offline Patry OlivierFriend
Messages: 54
Registered: July 2009
Member
Hi,

I'm using GMF to produce a graphical editor, I use colors to make things
clearer but I wish it could be possible to set the border colors of
Figures and the links between them. Actually, I can change the style
(solid, dot, dash, ...) but nothing about color. Did I have miss something?

(I think it is possible to make this programmaticaly but I would prefer
if it was possible with the gmfgraph only.

Thanks,

Olivier PATRY
Re: Border & Links color [message #197566 is a reply to message #197550] Thu, 17 July 2008 09:07 Go to previous messageGo to next message
Patry Olivier is currently offline Patry OlivierFriend
Messages: 54
Registered: July 2009
Member
Olivier PATRY a écrit :
> Hi,
>
> I'm using GMF to produce a graphical editor, I use colors to make things
> clearer but I wish it could be possible to set the border colors of
> Figures and the links between them. Actually, I can change the style
> (solid, dot, dash, ...) but nothing about color. Did I have miss something?
>
> (I think it is possible to make this programmaticaly but I would prefer
> if it was possible with the gmfgraph only.
>
> Thanks,
>
> Olivier PATRY
Oh, sorry, I miss an important point!
I can make what I want with a Line Border child on my Rectangle Figure,
it works. But my problem is on the rounded Rectangle Figure or elliptic
figures. I have a light grey border rounded, I wish I could change this
light grey. If I put a line border, it is a rectangle one.
Re: Border & Links color [message #197574 is a reply to message #197550] Thu, 17 July 2008 09:21 Go to previous message
Patry Olivier is currently offline Patry OlivierFriend
Messages: 54
Registered: July 2009
Member
Olivier PATRY a écrit :
> Hi,
>
> I'm using GMF to produce a graphical editor, I use colors to make things
> clearer but I wish it could be possible to set the border colors of
> Figures and the links between them. Actually, I can change the style
> (solid, dot, dash, ...) but nothing about color. Did I have miss something?
>
> (I think it is possible to make this programmaticaly but I would prefer
> if it was possible with the gmfgraph only.
>
> Thanks,
>
> Olivier PATRY
Ok, I finally found the solution, it's the Foreground child that
determine the color of the border... Not well choosen term IMHO!

Regards,
Olivier PATRY
Previous Topic:Label not centered
Next Topic:XYLayoutEditPolicy in GMF generated code
Goto Forum:
  


Current Time: Sat Jun 06 11:52:10 GMT 2020

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

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

Back to the top