From 4e44b4f55848e6204e6ef0d797fa253b8cb96986 Mon Sep 17 00:00:00 2001 From: Marcus Denker Date: Wed, 23 Feb 2022 15:34:11 +0100 Subject: [PATCH] Fix #349 by implementing #canBeExecuted fixes #349 --- .../StBreakpointCommand.class.st | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/NewTools-ObjectCentricBreakpoints/StBreakpointCommand.class.st b/src/NewTools-ObjectCentricBreakpoints/StBreakpointCommand.class.st index 33207b38c..a339b7d91 100644 --- a/src/NewTools-ObjectCentricBreakpoints/StBreakpointCommand.class.st +++ b/src/NewTools-ObjectCentricBreakpoints/StBreakpointCommand.class.st @@ -21,3 +21,9 @@ StBreakpointCommand >> appliesTo: aTool [ on: Error do: [ false ] ] + +{ #category : #testing } +StBreakpointCommand >> canBeExecuted [ + + ^ context selectedItem class == StInspectorSlotNode +]