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:
parent
d7c915bbaa
commit
2e740cb814
2 changed files with 8 additions and 1 deletions
|
@ -651,7 +651,7 @@
|
||||||
tooltip="%RestoredefaultRegisterGroupsAction.tooltip">
|
tooltip="%RestoredefaultRegisterGroupsAction.tooltip">
|
||||||
<enablement>
|
<enablement>
|
||||||
<pluginState
|
<pluginState
|
||||||
id="org.eclipse.cdt.debug.ui.pluginState1"
|
id="org.eclipse.cdt.debug.ui"
|
||||||
value="activated"/>
|
value="activated"/>
|
||||||
</enablement>
|
</enablement>
|
||||||
</action>
|
</action>
|
||||||
|
|
|
@ -174,6 +174,13 @@ public abstract class AbstractViewActionDelegate extends ActionDelegate implemen
|
||||||
shell.getDisplay().asyncExec( r );
|
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 getErrorDialogTitle();
|
||||||
|
|
||||||
protected abstract String getErrorDialogMessage();
|
protected abstract String getErrorDialogMessage();
|
||||||
|
|
Loading…
Add table
Reference in a new issue