1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 08:46:02 +02:00

[303553] - Disabled handler for multi-selection.

This commit is contained in:
Pawel Piech 2010-03-05 20:38:32 +00:00
parent f6ffe5ad0f
commit 9c26a6933c

View file

@ -81,7 +81,7 @@ public class CBreakpointPropertiesHandler extends AbstractHandler {
Object s = ((IEvaluationContext) evaluationContext).getVariable(ISources.ACTIVE_MENU_SELECTION_NAME);
if (s instanceof IStructuredSelection) {
IStructuredSelection ss = (IStructuredSelection)s;
if (!ss.isEmpty()) {
if (ss.size() == 1) {
return (ICBreakpoint)DebugPlugin.getAdapter(ss.getFirstElement(), ICBreakpoint.class);
}
}