Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Howto access a status line contribution
Howto access a status line contribution [message #666617] Thu, 21 April 2011 10:35 Go to next message
Eclipse UserFriend
Originally posted by:


I have created a custom contribution to the statusline using an
implementation of WorkbenchWindowControlContribution. This contribution
is added using the org.eclipse.ui.menus extension point
(toolbar:org.eclipse.ui.trim.status). The contribution is shown in the

Now I have a dialog that should change the content of the added
contribution. How can I access this contribution? The dialog might be
opened without any active editor or view. (So I can't use

Any hints?

Re: Howto access a status line contribution [message #666660 is a reply to message #666617] Thu, 21 April 2011 13:34 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You cannot track down a specific instance of something added through
org.eclipse.ui.menus. However, have your contribution read its status
from a status manager or publish an interface that would allow it to be
looked up by your code that wants to change the status.


Paul Webster platform.doc.isv/guide/workbench.htm
Previous Topic:DND with multiple Transfer Types
Next Topic:Migrate RCP Application from Eclipse 3.3 to Eclipse 3.6
Goto Forum:

Current Time: Thu Oct 27 15:02:13 GMT 2016

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

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