Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » How to write to the status line
How to write to the status line [message #585301] Thu, 31 October 2002 15:27
uhclem is currently offline uhclemFriend
Messages: 17
Registered: July 2009
Junior Member
Here's a little chestnut that I thought would be useful to the group.
It demonstrates how to get access to the status line from your EditorPart:

given an editor part:
org.eclipse.ui.part.EditorPart editorPart;

you can get the status line manager thusly:
public IStatusLineManager getStatusLineManager()
{
return ((EditorActionBarContributor)editorPart.
getEditorSite().
getActionBarContributor()).
getActionBars().
getStatusLineManager();
}

This just goes to prove that you really can get to most every part of the
eclipse workbench, albeit in a roundabout way...
Previous Topic:How to write to the status line
Next Topic:Speeding up Eclipse startup
Goto Forum:
  


Current Time: Sun Apr 14 01:52:18 GMT 2024

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

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

Back to the top