Implemented VDBTabbingContainer.
Changed main window to show three tabs by default:
* debugger console
* inferior console
* event log.
"{ Package: 'jv:vdb' }"
VDBAbstractApplication subclass:#VDBInferiorConsoleApplication
instanceVariableNames:'consoleView'
classVariableNames:''
poolDictionaries:''
category:'VDB-UI-Console'
!
!VDBInferiorConsoleApplication class methodsFor:'interface specs'!
windowSpec
"This resource specification was automatically generated
by the UIPainter of ST/X."
"Do not manually edit this!! If it is corrupted,
the UIPainter may not be able to read the specification."
"
UIPainter new openOnClass:VDBConsoleApplication andSelector:#windowSpec
VDBConsoleApplication new openInterface:#windowSpec
VDBConsoleApplication open
"
<resource: #canvas>
^
#(FullSpec
name: windowSpec
window:
(WindowSpec
label: 'Inferior Console'
name: 'Inferior Console'
min: (Point 10 10)
bounds: (Rectangle 0 0 782 332)
)
component:
(SpecCollection
collection: (
(ArbitraryComponentSpec
name: 'Console'
layout: (LayoutFrame 0 0 0 0 0 1 0 1)
hasBorder: false
component: consoleView
)
)
)
)
"Modified: / 09-06-2014 / 09:57:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!VDBInferiorConsoleApplication methodsFor:'aspects'!
consoleView
consoleView isNil ifTrue:[
consoleView :=VT100TerminalView new.
debugger notNil ifTrue:[
consoleView inStream: debugger inferiorStdin.
consoleView outStream: debugger inferiorStdout.
consoleView startReaderProcessWhenVisible.
].
].
^ consoleView
"Created: / 06-06-2014 / 21:33:14 / Jan Vrany <jan.vrany@fit.cvut.cz>"
"Modified: / 09-06-2014 / 10:02:00 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!VDBInferiorConsoleApplication methodsFor:'initialization & release'!
unsubscribe
"Unsubscribe myself fo debugger events"
super unsubscribe.
consoleView notNil ifTrue:[
consoleView stopReaderProcess.
consoleView inStream: nil.
consoleView outStream: nil.
].
"Created: / 09-06-2014 / 10:09:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!VDBInferiorConsoleApplication class methodsFor:'documentation'!
version_HG
^ '$Changeset: <not expanded> $'
! !