Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 210749 Details for
Bug 361562
[Compatibility] Debug actions in the global debug toolbar are enabled prematurely
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
ActionDelegateHandlerProxy patch v1
bug361562-patch-v1.txt (text/plain), 1.12 KB, created by
Remy Suen
on 2012-02-08 13:16:10 EST
(
hide
)
Description:
ActionDelegateHandlerProxy patch v1
Filename:
MIME Type:
Creator:
Remy Suen
Created:
2012-02-08 13:16:10 EST
Size:
1.12 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/ActionDelegateHandlerProxy.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/ActionDelegateHandlerProxy.java >index 0227a03..245fcf0 100644 >--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/ActionDelegateHandlerProxy.java >+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/ActionDelegateHandlerProxy.java >@@ -55,6 +55,7 @@ > import org.eclipse.ui.IWorkbenchWindow; > import org.eclipse.ui.IWorkbenchWindowActionDelegate; > import org.eclipse.ui.internal.WorkbenchPlugin; >+import org.eclipse.ui.internal.util.BundleUtility; > > /** > * <p> >@@ -304,9 +305,14 @@ > */ > private void updateDelegate(final IAction action, > final IEvaluationContext context) { >- if (action == null || delegate == null) { >+ if (action == null) { > return; > } >+ if (delegate == null) { >+ if (!BundleUtility.isActive(element.getContributor().getName()) || !loadDelegate()) { >+ return; >+ } >+ } > > if (editorDelegate != null) { > final Object activeEditor = context
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 361562
: 210749