Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to change background colour of palette group
how to change background colour of palette group [message #216553] Wed, 28 January 2009 10:56 Go to next message
sowmya Mising name is currently offline sowmya Mising nameFriend
Messages: 51
Registered: July 2009
I have been trying to change the white background inside the palette
group to a different colour.
I tried overriding the createFigure() method for
SliderPaletteEditPart((PaletteRoot)model).But this changes only the colour
of bottom part of the palette.

On similar lines I have tried to override the createFigure() method for
ToolbarEditPart(). This only changes the colour of the toolbar at the top
of the palette.

Also overriding the createFigure() methods in GroupEditPart,DrawerEditPart
also does not change the white background in the palette group.

White background still exists when the palette drawers are collapsed.Can i
get some assistance for this.

Re: how to change background colour of palette group [message #216946 is a reply to message #216553] Fri, 30 January 2009 15:13 Go to previous message
Alexander Shatalin is currently offline Alexander ShatalinFriend
Messages: 2928
Registered: July 2009
Senior Member
Hello sowmya,

I think you can put a breakpoint into SliderPaletteEditPart.createFigure()
to see where this method was called and how to set color for the parent figure/all
other siblings..

Alex Shatalin
Previous Topic:List attributes
Next Topic:Strugglin with connection
Goto Forum:

Current Time: Sat Mar 06 14:44:42 GMT 2021

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

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

Back to the top