This method calls:
contributeToMenu with bars' menu manager
contributeToToolBar with bars' tool bar
manager
contributeToCoolBar with bars' cool bar
manager if IActionBars is of extended type IActionBars2contributeToStatusLine with bars' status line
manager
The given action bars are also remembered and made accessible via
getActionBars.

contributeToCoolBar

The EditorActionBarContributor implementation of this method
does nothing. Subclasses may reimplement to add to the cool bar portion of
this contribution. There can only be contributions from a cool bar or a tool bar.

setActiveEditor

The EditorActionBarContributor implementation of this method does
nothing. Subclasses may reimplement. This generally entails disconnecting
from the old editor, connecting to the new editor, and updating the actions
to reflect the new editor.