Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorMikhail Khodjaiants2007-08-13 15:47:28 +0000
committerMikhail Khodjaiants2007-08-13 15:47:28 +0000
commit2e740cb814e279e59133d6d2b3c82d664b6b017f (patch)
treefe1031657afd2a43b035f028f86d8822f0e02d3d /debug
parentd7c915bbaa692828c49bafbe126ae05c88f345a4 (diff)
downloadorg.eclipse.cdt-2e740cb814e279e59133d6d2b3c82d664b6b017f.tar.gz
org.eclipse.cdt-2e740cb814e279e59133d6d2b3c82d664b6b017f.tar.xz
org.eclipse.cdt-2e740cb814e279e59133d6d2b3c82d664b6b017f.zip
Bug 198023: In the Debug Register View the object contribution "Add Register Group" is enabled and should not be.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.ui/plugin.xml2
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java7
2 files changed, 8 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/plugin.xml b/debug/org.eclipse.cdt.debug.ui/plugin.xml
index c98bddb3fbd..af530057488 100644
--- a/debug/org.eclipse.cdt.debug.ui/plugin.xml
+++ b/debug/org.eclipse.cdt.debug.ui/plugin.xml
@@ -651,7 +651,7 @@
tooltip="%RestoredefaultRegisterGroupsAction.tooltip">
<enablement>
<pluginState
- id="org.eclipse.cdt.debug.ui.pluginState1"
+ id="org.eclipse.cdt.debug.ui"
value="activated"/>
</enablement>
</action>
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java
index 1b0a5bb5e65..78f5bdd4637 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/AbstractViewActionDelegate.java
@@ -174,6 +174,13 @@ public abstract class AbstractViewActionDelegate extends ActionDelegate implemen
shell.getDisplay().asyncExec( r );
}
+ /* (non-Javadoc)
+ * @see org.eclipse.ui.actions.ActionDelegate#selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)
+ */
+ public void selectionChanged( IAction action, ISelection selection ) {
+ update();
+ }
+
protected abstract String getErrorDialogTitle();
protected abstract String getErrorDialogMessage();

Back to the top