Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » How to change the background color of the paletteviewer
How to change the background color of the paletteviewer [message #132891] Wed, 19 May 2004 07:36 Go to next message
Ng Kia Bee is currently offline Ng Kia BeeFriend
Messages: 16
Registered: July 2009
Junior Member
Hi all,
Can anyone tell me how to change the background color of the
paletteviewer. I can't seem to find the API to do so.

Thanks.
Re: How to change the background color of the paletteviewer [message #133077 is a reply to message #132891] Wed, 19 May 2004 15:18 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
That's because there is no API to do that. If you're talking about items
with white (buttonLightest) background on the palette, those are Template
entries. Any container that has PaletteTemplateEntries will automatically
have a white background.

"Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
news:c8f2qf$jg8$1@eclipse.org...
> Hi all,
> Can anyone tell me how to change the background color of the
> paletteviewer. I can't seem to find the API to do so.
>
> Thanks.
>
Re: How to change the background color of the paletteviewer [message #133197 is a reply to message #133077] Thu, 20 May 2004 06:09 Go to previous messageGo to next message
Ng Kia Bee is currently offline Ng Kia BeeFriend
Messages: 16
Registered: July 2009
Junior Member
Is there any intention to add this API so that others get to choose the
color instead of the current grey color?

Pratik Shah wrote:

> That's because there is no API to do that. If you're talking about items
> with white (buttonLightest) background on the palette, those are Template
> entries. Any container that has PaletteTemplateEntries will automatically
> have a white background.

> "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> news:c8f2qf$jg8$1@eclipse.org...
> > Hi all,
> > Can anyone tell me how to change the background color of the
> > paletteviewer. I can't seem to find the API to do so.
> >
> > Thanks.
> >
Re: How to change the background color of the paletteviewer [message #133249 is a reply to message #133197] Thu, 20 May 2004 13:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gaslade.yahoo.com

If you want this feature added I would open a bugzilla on it. If you
wanted to you could make the change yourself and contribute it back.

Guy
Re: How to change the background color of the paletteviewer [message #133301 is a reply to message #133197] Thu, 20 May 2004 18:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

What color do you want to use? The palette is using the system color for
widgets, not "gray".

"Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
news:c8hi3l$egd$1@eclipse.org...
> Is there any intention to add this API so that others get to choose the
> color instead of the current grey color?
>
> Pratik Shah wrote:
>
> > That's because there is no API to do that. If you're talking about
items
> > with white (buttonLightest) background on the palette, those are
Template
> > entries. Any container that has PaletteTemplateEntries will
automatically
> > have a white background.
>
> > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > news:c8f2qf$jg8$1@eclipse.org...
> > > Hi all,
> > > Can anyone tell me how to change the background color of the
> > > paletteviewer. I can't seem to find the API to do so.
> > >
> > > Thanks.
> > >
>
>
Re: How to change the background color of the paletteviewer [message #133405 is a reply to message #133301] Fri, 21 May 2004 09:20 Go to previous messageGo to next message
Ng Kia Bee is currently offline Ng Kia BeeFriend
Messages: 16
Registered: July 2009
Junior Member
I hope we are referring to the same thing for background color of the
paletteviewer. I mean by those empty area that are not occupy by tool
entries in the palette group and drawer. I have tried it and it doesn't
use the system color for widgets at all.

Randy Hudson wrote:

> What color do you want to use? The palette is using the system color for
> widgets, not "gray".

> "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> news:c8hi3l$egd$1@eclipse.org...
> > Is there any intention to add this API so that others get to choose the
> > color instead of the current grey color?
> >
> > Pratik Shah wrote:
> >
> > > That's because there is no API to do that. If you're talking about
> items
> > > with white (buttonLightest) background on the palette, those are
> Template
> > > entries. Any container that has PaletteTemplateEntries will
> automatically
> > > have a white background.
> >
> > > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > > news:c8f2qf$jg8$1@eclipse.org...
> > > > Hi all,
> > > > Can anyone tell me how to change the background color of the
> > > > paletteviewer. I can't seem to find the API to do so.
> > > >
> > > > Thanks.
> > > >
> >
> >
Re: How to change the background color of the paletteviewer [message #133687 is a reply to message #133405] Fri, 21 May 2004 21:21 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Yes, it does. If you change the Windows system color, and then restart the
workbench, you will see that it has changed.

"Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
news:c8khlp$r6c$1@eclipse.org...
> I hope we are referring to the same thing for background color of the
> paletteviewer. I mean by those empty area that are not occupy by tool
> entries in the palette group and drawer. I have tried it and it doesn't
> use the system color for widgets at all.
>
> Randy Hudson wrote:
>
> > What color do you want to use? The palette is using the system color
for
> > widgets, not "gray".
>
> > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > news:c8hi3l$egd$1@eclipse.org...
> > > Is there any intention to add this API so that others get to choose
the
> > > color instead of the current grey color?
> > >
> > > Pratik Shah wrote:
> > >
> > > > That's because there is no API to do that. If you're talking about
> > items
> > > > with white (buttonLightest) background on the palette, those are
> > Template
> > > > entries. Any container that has PaletteTemplateEntries will
> > automatically
> > > > have a white background.
> > >
> > > > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > > > news:c8f2qf$jg8$1@eclipse.org...
> > > > > Hi all,
> > > > > Can anyone tell me how to change the background color of the
> > > > > paletteviewer. I can't seem to find the API to do so.
> > > > >
> > > > > Thanks.
> > > > >
> > >
> > >
>
>
Re: How to change the background color of the paletteviewer [message #139232 is a reply to message #133687] Tue, 22 June 2004 08:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bbdaffy.hotmail.com

Hi,

Sorry to bring up this issue again. Noticed that when I change the system
color, certain parts of the Eclipse workbench actually change colour
automatically without needing me to restart the workbench. However,
certain parts of the workbench, and in this case, the PaletteViewer, does
not change color until I restart the workbench. Should this not be an
issue to be resolved? Just a comment on my part. Thanks.

Regards,
Lee

Pratik Shah wrote:

> Yes, it does. If you change the Windows system color, and then restart the
> workbench, you will see that it has changed.

> "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> news:c8khlp$r6c$1@eclipse.org...
> > I hope we are referring to the same thing for background color of the
> > paletteviewer. I mean by those empty area that are not occupy by tool
> > entries in the palette group and drawer. I have tried it and it doesn't
> > use the system color for widgets at all.
> >
> > Randy Hudson wrote:
> >
> > > What color do you want to use? The palette is using the system color
> for
> > > widgets, not "gray".
> >
> > > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > > news:c8hi3l$egd$1@eclipse.org...
> > > > Is there any intention to add this API so that others get to choose
> the
> > > > color instead of the current grey color?
> > > >
> > > > Pratik Shah wrote:
> > > >
> > > > > That's because there is no API to do that. If you're talking about
> > > items
> > > > > with white (buttonLightest) background on the palette, those are
> > > Template
> > > > > entries. Any container that has PaletteTemplateEntries will
> > > automatically
> > > > > have a white background.
> > > >
> > > > > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > > > > news:c8f2qf$jg8$1@eclipse.org...
> > > > > > Hi all,
> > > > > > Can anyone tell me how to change the background color of the
> > > > > > paletteviewer. I can't seem to find the API to do so.
> > > > > >
> > > > > > Thanks.
> > > > > >
> > > >
> > > >
> >
> >
Re: How to change the background color of the paletteviewer [message #139388 is a reply to message #139232] Tue, 22 June 2004 15:26 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

Search bugzilla for system color notifications.

"Nicole" <bbdaffy@hotmail.com> wrote in message
news:cb8q8t$6o5$1@eclipse.org...
> Hi,
>
> Sorry to bring up this issue again. Noticed that when I change the system
> color, certain parts of the Eclipse workbench actually change colour
> automatically without needing me to restart the workbench. However,
> certain parts of the workbench, and in this case, the PaletteViewer, does
> not change color until I restart the workbench. Should this not be an
> issue to be resolved? Just a comment on my part. Thanks.
>
> Regards,
> Lee
>
> Pratik Shah wrote:
>
> > Yes, it does. If you change the Windows system color, and then restart
the
> > workbench, you will see that it has changed.
>
> > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > news:c8khlp$r6c$1@eclipse.org...
> > > I hope we are referring to the same thing for background color of the
> > > paletteviewer. I mean by those empty area that are not occupy by tool
> > > entries in the palette group and drawer. I have tried it and it
doesn't
> > > use the system color for widgets at all.
> > >
> > > Randy Hudson wrote:
> > >
> > > > What color do you want to use? The palette is using the system
color
> > for
> > > > widgets, not "gray".
> > >
> > > > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > > > news:c8hi3l$egd$1@eclipse.org...
> > > > > Is there any intention to add this API so that others get to
choose
> > the
> > > > > color instead of the current grey color?
> > > > >
> > > > > Pratik Shah wrote:
> > > > >
> > > > > > That's because there is no API to do that. If you're talking
about
> > > > items
> > > > > > with white (buttonLightest) background on the palette, those are
> > > > Template
> > > > > > entries. Any container that has PaletteTemplateEntries will
> > > > automatically
> > > > > > have a white background.
> > > > >
> > > > > > "Kia Bee" <nkiabee@yahoo.co.uk> wrote in message
> > > > > > news:c8f2qf$jg8$1@eclipse.org...
> > > > > > > Hi all,
> > > > > > > Can anyone tell me how to change the background color of the
> > > > > > > paletteviewer. I can't seem to find the API to do so.
> > > > > > >
> > > > > > > Thanks.
> > > > > > >
> > > > >
> > > > >
> > >
> > >
>
>
Previous Topic:Draw2d: Text figure with defined width and flexible height
Next Topic:Figure type in Swing/AWT ??
Goto Forum:
  


Current Time: Thu Apr 25 08:33:02 GMT 2024

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

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

Back to the top