Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Is it a bug in GMF that does not allow to change the palette backgournd colour
Is it a bug in GMF that does not allow to change the palette backgournd colour [message #226263] Wed, 15 April 2009 21:58 Go to next message
sowmya Mising name is currently offline sowmya Mising nameFriend
Messages: 51
Registered: July 2009
Member
Hi ,
My requirement is to chnage the white background colour inside the
palette int o a colour of my choice. For this i have tried to override the
createImage method for each of the following editpart
SliderPaletteEditPart , GroupEditPart, ToolbarEditPart ,DrawerEditPart,
PinnablePaletteStackEditPart in GmapDiagramEditor.java file.

SliderPaletteEditPart -
These will change the colour of the palette outermost cover when all th
drawers are closed.

GroupEditPart -
These will again change the colour of each of the grouos of the palette
on the outside only

ToolbarEditPart -
changes the colour of toolbar on the top of the palette.

DrawerEditPart-
changes the colour of drawer bar on the that appears when the drawer is
closed .

PinnablePaletteStackEditPart -
changes the colour of pinnable stack layout that is again near the
toolbar onthe top of the palette.

I have not been change the white background for the elements in the
palette under each drawer. This remains white when the when the drawer is
opened.

Could this be a bug in the GMF that it doesn not allow to customize the
colour of only the backgournd inside eacha palette drawer.
How can this be achieved.
Re: Is it a bug in GMF that does not allow to change the palette backgournd colour [message #226356 is a reply to message #226263] Thu, 16 April 2009 10:58 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello sowmya,

> Could this be a bug in the GMF that it doesn not allow to customize
Probably this is GEF-related question. All these cllasses came from GEF.

-----------------
Alex Shatalin
Previous Topic:GMF regular procedure
Next Topic:Trigger Open Edit Policy
Goto Forum:
  


Current Time: Fri Apr 19 16:49:40 GMT 2024

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

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

Back to the top