Palette group backgound change problem [message #248357] |
Fri, 17 April 2009 04:54 |
Vikas Goyal Messages: 34 Registered: July 2009 |
Member |
|
|
Hi ,
I saw one question in gmf news group regarding changing the white
background color of each palette group . Could you please tell me if this
is a bug in gef , if not how I can change the background of different
palette group where palette elements reside..
Below is the question in gmf newsgroup and response.
Best Regards,
Vikas
Question is :
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.
Response :
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03813 seconds