public static class EditingDomainActionBarContributor
extends java.lang.Object
IEditingDomainProvider
.
It automatically hooks up the Undo, Redo, Cut, Copy, Paste, and Delete actions on the Edit menu
to the corresponding commands supported by the EditingDomain
.
The editor site'selection provider is used to keep the Cut, Copy, Paste, and Delete actions up-to-date.
The actions are also refreshed every time the editor fires to its IPropertyListener
s.
Another very useful feature of this contributor is that it can be used as follows:
((IMenuListener)((IEditorSite)getSite()).getActionBarContributor()).menuAboutToShow(menuManager);to contribute the Edit menu actions to a pop-up menu.