objectDelegate.setActivePart(action, activePart);
} else if (editorDelegate != null) {
editorDelegate.setActiveEditor(action, activeEditor);
} else if ((viewId != null) && (page != null)
&& (viewDelegate != null)) {
final IViewPart viewPart = page.findView(viewId);
viewDelegate.init(viewPart);
} else if (windowDelegate != null) {
windowDelegate.init(window);
}
}