Custom StatusBar [message #460111] |
Thu, 14 December 2006 03:20 |
Eclipse User |
|
|
|
Originally posted by: alopezpa.bancopastor.es
I need to create 4 groups in StatusBar. In each group, I want to add
several StatusLineContributionItem.
I need the code to create 4 groups in StatusBar, to position them and to
set their size. I couldn't find any code neither documentation for help
me, so, could someone help me?.
In ApplicationWorkbenchWindowAdvisor.preWindowOpen() I wrote:
configurer.setShowProgressIndicator(true); to show the progressIndicator
but I am not able to access it. I want that this progressIndicator is just
as the one of Eclipse. How can I configure this?. I also need help with
this.
With the following code, I access to other progressIndicator but I don't
want to accede to this.
IActionBars bars = ((WorkbenchWindow) PlatformUI.getWorkbench()
.getActiveWorkbenchWindow()).getActionBars();
IProgressMonitor progressMonitor = bars.getStatusLineManager()
.getProgressMonitor();
Thanks in advance for your suggestions.
Ángel
|
|
|
Powered by
FUDForum. Page generated in 0.02483 seconds