Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Create Note option background color
Create Note option background color [message #189974] Thu, 29 May 2008 09:39 Go to next message
Nagesh is currently offline NageshFriend
Messages: 55
Registered: July 2009
Member
Hello All,

GMF palette option create Note is giving background color as Black. Where
the color is contributing this black. And where can i change the
background color of same.

Thanks in Advance.
Regards,
Nagesh Y.J.
Re: Create Note option background color [message #191080 is a reply to message #189974] Wed, 04 June 2008 16:34 Go to previous message
Jens Bachmann is currently offline Jens BachmannFriend
Messages: 52
Registered: July 2009
Member
Hello Nagesh,

I found the method initDefaults(IPreferenceStore store) where
Color noteFillColor = DiagramColorConstants.diagramLightYellow; is set.
This method is defined in package
org.eclipse.gmf.runtime.diagram.ui.preferences.AppearancePre ferencePage.
This color is used for the note while its generation.
Make sure, that this package is required by your diagram. I hope this
will help you a little bit.

Regards,
Jens
Nagesh schrieb:
> Hello All,
>
> GMF palette option create Note is giving background color as Black.
> Where the color is contributing this black. And where can i change the
> background color of same.
>
> Thanks in Advance.
> Regards,
> Nagesh Y.J.
>
Previous Topic:handleNotificationEvent in editpart not called when making a change through an action, what am I doi
Next Topic:NotationModel: What is a RelativeBendpoint?
Goto Forum:
  


Current Time: Wed Apr 24 16:43:29 GMT 2024

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

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

Back to the top