Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Getting a handle to IStatusLineManager
Getting a handle to IStatusLineManager [message #465062] Thu, 22 March 2007 13:09 Go to next message
Troy Bourdon is currently offline Troy BourdonFriend
Messages: 12
Registered: July 2009
Junior Member
I need to get a handle to IStatusLineManager so that I can update the
status bar. I'd like to do this outside of the
ApplicationWorkbenchWindowAdvisor which seems to be the only place I can
get the handle via the IWorkbenchWindowConfigurer. I want to update the
status bar when an editor comes into focus but I really don't want to
setup a part listener in ApplicationWorkbenchWindowAdvisor if I can avoid
it.

- Troy
Re: Getting a handle to IStatusLineManager [message #465099 is a reply to message #465062] Thu, 22 March 2007 20:17 Go to previous message
Srivatsan is currently offline SrivatsanFriend
Messages: 55
Registered: July 2009
Member
Troy,
You can get an handle of the status line manager through the
getStatusLineManager() method.
In your editor class use
getEditorSite().getActionBars().getStatusLineManager() to get hold of the
same.
getActionBars will return the actionbars that correspond to your editor
site through which you can access the status line manager.

-Vatsan
Previous Topic:Displaying Hour Glass
Next Topic:Hiding Actions using an Environmental Variable
Goto Forum:
  


Current Time: Fri Oct 04 15:09:38 GMT 2024

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

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

Back to the top