Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » On size change of Statusline contribution item
On size change of Statusline contribution item [message #331497] Wed, 10 September 2008 08:31
Eclipse UserFriend
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
Previous Topic:Editor status info placement
Next Topic:Attempting to build SWT3.4 for HP-UX/Motif; missing DateTime class
Goto Forum:
  


Current Time: Fri May 02 01:39:39 EDT 2025

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

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

Back to the top