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 #32723] 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:Automatic Project Reference and Build Path
Next Topic:How to write to the status line
Goto Forum:
  


Current Time: Sat Apr 27 04:38:23 GMT 2024

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

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

Back to the top