Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to add image in Eclipse status bar
how to add image in Eclipse status bar [message #275626] Wed, 10 November 2004 03:03 Go to next message
Eclipse UserFriend
Originally posted by: jyzhang.superv.com.cn

HI, all.

I can only show text in status bar using codes below:
WorkbenchWindow window = EclipseGlobal.getWorkbenchWindow(); //window is
my project's global varible
IStatusLineManager manager = window.getActionBars().getStatusLineManager();
manager.setMessage("I'm read !");

but I need to show image in status bar,
anyone can help me?

Thanks a lot.
Re: how to add image in Eclipse status bar [message #275809 is a reply to message #275626] Fri, 12 November 2004 11:50 Go to previous message
Eclipse UserFriend
Originally posted by: kim_horne.ca.ibm.com

Harry Chang wrote:

> HI, all.
>
> I can only show text in status bar using codes below:
> WorkbenchWindow window = EclipseGlobal.getWorkbenchWindow(); //window is
> my project's global varible
> IStatusLineManager manager = window.getActionBars().getStatusLineManager();
> manager.setMessage("I'm read !");
>
> but I need to show image in status bar, anyone can help me?
>
> Thanks a lot.
>
Create an IContributionItem that shows your image and add it to the
StatusLineManager instead.
Previous Topic:Position a view
Next Topic:editor crash - how to clean workbench
Goto Forum:
  


Current Time: Wed Apr 16 00:51:17 EDT 2025

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

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

Back to the top