Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 361562
Collapse All | Expand All

(-)a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/ActionDelegateHandlerProxy.java (-1 / +7 lines)
Lines 55-60 Link Here
55
import org.eclipse.ui.IWorkbenchWindow;
55
import org.eclipse.ui.IWorkbenchWindow;
56
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
56
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
57
import org.eclipse.ui.internal.WorkbenchPlugin;
57
import org.eclipse.ui.internal.WorkbenchPlugin;
58
import org.eclipse.ui.internal.util.BundleUtility;
58
59
59
/**
60
/**
60
 * <p>
61
 * <p>
Lines 304-312 Link Here
304
	 */
305
	 */
305
	private void updateDelegate(final IAction action,
306
	private void updateDelegate(final IAction action,
306
			final IEvaluationContext context) {
307
			final IEvaluationContext context) {
307
		if (action == null || delegate == null) {
308
		if (action == null) {
308
			return;
309
			return;
309
		}
310
		}
311
		if (delegate == null) {
312
			if (!BundleUtility.isActive(element.getContributor().getName()) || !loadDelegate()) {
313
				return;
314
			}
315
		}
310
316
311
		if (editorDelegate != null) {
317
		if (editorDelegate != null) {
312
			final Object activeEditor = context
318
			final Object activeEditor = context

Return to bug 361562