Skip to main content



      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 10:27
Eclipse UserFriend
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: Wed Apr 16 14:28:01 EDT 2025

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

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

Back to the top