Setting Status Line. [message #714298] |
Wed, 10 August 2011 05:20  |
Eclipse User |
|
|
|
Hi all,
I am having a Menu which contains some menuItems. Now my requirement is
when i select any one the menu item then it has to set the status line as
the current selected Text in Status Line.
//==========================================================================
In ApplicationWorkbenchWindowAdvisor Class i have modified this code.
public void preWindowOpen(){
...
...
...
configurer.setShowStatusLine(true);
}
public void postWindowOpen()
{
IStatusLineManager statusline = getWindowConfigurer()
.getActionBarConfigurer().getStatusLineManager();
statusline.setMessage(null, "Status line is ready");
}
Now when the RCP is been Run then in Status Line i am getting a String as
"Status line is ready"
//==========================================================================
Now my requirement is
i am having a Menu with some MenuItems in that.
When i select any one MenuItem then Accordingly i have to change my
StatusLine.
Thanks,
uday.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04017 seconds