actionBars.setEditorContributor(contributor);
contributor.init(actionBars, page);
}
// Read action extensions.
EditorActionBuilder builder = new EditorActionBuilder();
IEditorActionBarContributor extension = builder.readActionExtensions(descriptor /*WDG , actionBars */);
if (extension != null) {
actionBars.setExtensionContributor(extension);
extension.init(actionBars, page);
}