1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 198023: In the Debug Register View the object contribution "Add Register Group" is enabled and should not be.

This commit is contained in:
Mikhail Khodjaiants 2007-08-13 15:47:28 +00:00
parent d7c915bbaa
commit 2e740cb814
2 changed files with 8 additions and 1 deletions

View file

@ -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>

View file

@ -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();