use of org.eclipse.ui.IEditorActionBarContributor in project core by jcryptool.
the class HexEditor method getStatusLineManager.
/**
* Returns the status line manager of this editor.
* @return the status line manager of this editor
*/
private IStatusLineManager getStatusLineManager() {
IEditorActionBarContributor contributor = getEditorSite().getActionBarContributor();
if (!(contributor instanceof EditorActionBarContributor))
return null;
IActionBars actionBars = ((EditorActionBarContributor) contributor).getActionBars();
if (actionBars == null)
return null;
return actionBars.getStatusLineManager();
}
Aggregations