if (menu.getId() != null && menu.getId().equals(mm.getId()) && item instanceof ActionContributionItem) {
try {
IAction action = ((ActionContributionItem) item).getAction();
if (action instanceof IExtendedEditorActionProxyForDelayLoading) {
IExtendedEditorActionProxyForDelayLoading eea = (IExtendedEditorActionProxyForDelayLoading)action;
if (eea.isBundleActive() == true && eea.isRealized() == false) {
eea.realize();
needActionContributionItemUpdate = true;
}
}
if (activeEditorIsVisible || needActionContributionItemUpdate) {