Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Getting a handle to IStatusLineManager
Getting a handle to IStatusLineManager [message #465062] Thu, 22 March 2007 09:09 Go to next message
Eclipse UserFriend
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 16:17 Go to previous message
Eclipse UserFriend
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: Thu Jul 03 07:49:58 EDT 2025

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

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

Back to the top