diff options
author | Pawel Piech | 2011-04-29 23:07:43 +0000 |
---|---|---|
committer | Pawel Piech | 2011-04-29 23:07:43 +0000 |
commit | c4608152ed8db2f2c79c0fd130a9eeaad9fc9687 (patch) | |
tree | 314acb34d5859c91ae68c1434aa46153c9770eb6 | |
parent | 7f2fcf128ff74f34944db090f323bc0f2ae4f104 (diff) | |
download | eclipse.platform.debug-c4608152ed8db2f2c79c0fd130a9eeaad9fc9687.tar.gz eclipse.platform.debug-c4608152ed8db2f2c79c0fd130a9eeaad9fc9687.tar.xz eclipse.platform.debug-c4608152ed8db2f2c79c0fd130a9eeaad9fc9687.zip |
Bug 316850 - [breakpoints] Remove toolbar action disabled when view does not have focus
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java index 99ab727ae..6d007618b 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/variables/VariablesView.java @@ -684,7 +684,10 @@ public class VariablesView extends AbstractDebugView implements IDebugContextLis } public void focusLost(FocusEvent e){ - fSelectionProvider.setActiveProvider(null); + // Do not reset the selection provider with the provider proxy. + // This should allow toolbar actions to remain active when the view + // is de-activated but still visible. + // Bug 316850. setAction(SELECT_ALL_ACTION, null); setAction(COPY_ACTION,null); setAction(FIND_ACTION, null); @@ -710,6 +713,8 @@ public class VariablesView extends AbstractDebugView implements IDebugContextLis return variablesViewer; } + + /** * Returns the active debug context for this view based on the view's * site IDs. |