Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to give color to StatusLineContributionItem??
How to give color to StatusLineContributionItem?? [message #306075] Thu, 20 July 2006 01:24 Go to next message
Eclipse UserFriend
Originally posted by: brandonchen.realtek.com.tw

Hi,

I want to show some message in the bottom of the eclipse platform as
StatusLineContributionItem. It's better to make the message line with red
color. But I can not find any way to change the color. How to chage the
color of the status line??


Appreciated for any reply

Brandon
Re: How to give color to StatusLineContributionItem?? [message #306082 is a reply to message #306075] Thu, 20 July 2006 05:23 Go to previous message
Eclipse UserFriend
Originally posted by: shinkarenko.imedic.de

like this?

class MyItem extends StatusLineContributionItem
{
public MyItem(String aId)
{
super(aId);
}

@Override
public void fill(Composite aParent)
{
super.fill(aParent);
//...
aParent.setBackground(RED_COLOR);
}

}

Ilya Shinkarenko
--
www.imedic.de
www.rcp-training.com


Brandon wrote:
> Hi,
>
> I want to show some message in the bottom of the eclipse platform as
> StatusLineContributionItem. It's better to make the message line with red
> color. But I can not find any way to change the color. How to chage the
> color of the status line??
>
>
> Appreciated for any reply
>
> Brandon
>
>
Previous Topic:Problem migrating debug view to callisto
Next Topic:VIew Creation
Goto Forum:
  


Current Time: Sun Jun 01 15:47:14 EDT 2025

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

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

Back to the top