Cleanup in debugger and inferior console applications to catch up changes in `jv:libgdbs`
Recent `jv:libgdbs` spawns GDB on a PTY and opening MI channel on another,
debugger console has no need to emulate history, command completion
and all that stuff. This is now handled by GDB itself.
"{ Package: 'jv:vdb' }"
"{ NameSpace: Smalltalk }"
VDBModelPresenter subclass:#VDBFramePresenter
instanceVariableNames:'frame'
classVariableNames:''
poolDictionaries:''
category:'VDB-Presentation'
!
!VDBFramePresenter methodsFor:'accessing'!
frame
^ frame
!
icon
^ frame thread isRunning
ifTrue:[ VDBIconLibrary frameRunning16x16 ]
ifFalse:[ VDBIconLibrary frameStopped16x16 ]
"Created: / 22-09-2014 / 22:06:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
!
label
^ frame displayString
"Created: / 22-09-2014 / 00:14:39 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!VDBFramePresenter methodsFor:'initialization'!
setFrame: aGDBFrame
^ frame := aGDBFrame
"Created: / 21-09-2014 / 23:38:30 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!VDBFramePresenter methodsFor:'protocol-accessing'!
fetchChildren
"should compute the list of children via the model.
Be aware, that the somewhat stupid 'optimization' of how the model is fetched may lead to
a O(n*log n) or even O(n^2) behavior here.
*** to optimize: redefine by subClass"
^ #()
"Created: / 21-09-2014 / 23:37:47 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!VDBFramePresenter methodsFor:'testing'!
isFramePresenter
^ true
"Created: / 21-09-2014 / 23:54:15 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !