On size change of Statusline contribution item [message #331497] |
Wed, 10 September 2008 12:31 |
Eclipse User |
|
|
|
Hello,
I'm using org.eclipse.ui.menus to contribure to the statusline extending
WorkbenchWindowControlContribution.
The control I created holds some labels that display statistical values
about the application. This values change rapidly from time to time and
while changing the size needed by the statusline changes to (0 ms is
shorter then 3526 ms ... ).
Right now my control resizes, but gets clipped of at the end of the area
that was assigned to my statusline control on creation.
I tried to use getParent.update(true) where the parent is the
ToolbartManager of the statusline, but had little success.
How can I tell the statusline that the size of my contribution changed and
to reassign place to it?
Thanks,
Jan Kohnert
|
|
|
Powered by
FUDForum. Page generated in 0.04401 seconds