Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to print out a message to the status bar?
How to print out a message to the status bar? [message #162216] Wed, 26 November 2003 09:29 Go to next message
Eclipse UserFriend
Originally posted by: m.bauer.signsoft.com

Hi,

I've tried
new StatusLineManager().setErrorMessage(text);

Is there any other possibility or am I doing something wrong?



Thanks in Advance

Michael Bauer
Re: How to print out a message to the status bar? [message #162378 is a reply to message #162216] Wed, 26 November 2003 14:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmyron.ioconcepts.com

I use:

getStatusLineManager().setMessage(text)

instead of setErrorMessage() and it works fine

"Michael Bauer" <m.bauer@signsoft.com> wrote in message
news:bq2ctb$cv3$1@eclipse.org...
> Hi,
>
> I've tried
> new StatusLineManager().setErrorMessage(text);
>
> Is there any other possibility or am I doing something wrong?
>
>
>
> Thanks in Advance
>
> Michael Bauer
>
>
Re: How to print out a message to the status bar? [message #164006 is a reply to message #162216] Mon, 01 December 2003 10:25 Go to previous message
Eclipse UserFriend
Originally posted by: nick_edgar._no.spam.please_.ca.ibm.com

From a view do:
IActionBars bars = getViewSite().getActionBars();
bars.getStatusLineManager().setMessage(text);

From an editor, use getEditorSite() instead of getViewSite();

Nick

"Michael Bauer" <m.bauer@signsoft.com> wrote in message
news:bq2ctb$cv3$1@eclipse.org...
> Hi,
>
> I've tried
> new StatusLineManager().setErrorMessage(text);
>
> Is there any other possibility or am I doing something wrong?
>
>
>
> Thanks in Advance
>
> Michael Bauer
>
>
Previous Topic:RPC WorkbenchAdvisor.getDefaultWindowInput()
Next Topic:Eclipse-Plugins is back
Goto Forum:
  


Current Time: Sat May 10 12:49:24 EDT 2025

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

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

Back to the top