Palette group backgound change problem [message #248357] |
Fri, 17 April 2009 00:54  |
Eclipse User |
|
|
|
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
|
|
|
|
Re: Palette group backgound change problem [message #248386 is a reply to message #248357] |
Fri, 17 April 2009 21:09  |
Eclipse User |
|
|
|
Vikas Goyal wrote:
> 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.
I'm not intimately familiar with the palette components but are you
making the same request as this bug?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=129783
If so, you can CC yourself on the bug. If you're really interested in it
getting fixed you'll probably have to contribute a patch as it doesn't
seem to be a very popular request.
If that's not the right request, you could always file a new one.
Cheers
Ben
|
|
|
Powered by
FUDForum. Page generated in 0.23218 seconds