#REFACTORING by cg
authorClaus Gittinger <cg@exept.de>
Sun, 11 Sep 2016 15:41:30 +0200
changeset 3973 aa193dc9210e
parent 3972 f87c3c8f747a
child 3974 19a680e0f151
#REFACTORING by cg class: Breakpoint added: #breakpointDescriptionClass changed: #initialize
Breakpoint.st
--- a/Breakpoint.st	Fri Sep 09 13:21:13 2016 +0200
+++ b/Breakpoint.st	Sun Sep 11 15:41:30 2016 +0200
@@ -53,6 +53,14 @@
     ^ self basicNew initialize.
 ! !
 
+!Breakpoint class methodsFor:'queries'!
+
+breakpointDescriptionClass
+    "redefinable in subclasses"
+    
+    ^ BreakpointDescription
+! !
+
 !Breakpoint class methodsFor:'utilities'!
 
 disableAllBreakpoints
@@ -122,7 +130,7 @@
     "/ please change as required (and remove this comment)
     "/ method := nil.
     "/ position := nil.
-    description := BreakpointDescription new.
+    description := self class breakpointDescriptionClass new.
     "/ line := nil.
 
     "/ super initialize.   -- commented since inherited method does nothing