class: FileApplicationNoteBook
authorClaus Gittinger <cg@exept.de>
Tue, 03 Jun 2014 11:20:34 +0200
changeset 14444 cea130516cc0
parent 14443 536bf80169c1
child 14445 93a87572e630
class: FileApplicationNoteBook comment/format in: #startApplication: changed: #postOpenAsSubcanvasWith: #preBuildWith:
FileApplicationNoteBook.st
--- a/FileApplicationNoteBook.st	Mon Jun 02 14:59:50 2014 +0200
+++ b/FileApplicationNoteBook.st	Tue Jun 03 11:20:34 2014 +0200
@@ -652,9 +652,10 @@
 !
 
 startApplication:anApplication
+    "start a subapplication in the lower panel (terminal, finder, archive viewer or text editor)"
+
     | window|
 
-"/    anApplication masterApplication:self.
     anApplication window isNil ifTrue:[
         window := ApplicationSubView new.
         anApplication createBuilder.
@@ -667,9 +668,7 @@
     self withWaitCursorDo:[
         self doSelect:anApplication.
     ].
-"/    [
-        anApplication postOpenWith:anApplication builder.
-"/    ] forkAt:Processor activePriority.
+    anApplication postOpenWith:anApplication builder.
 !
 
 tabStringAdd:aString for:aAppl
@@ -1203,7 +1202,7 @@
 postOpenAsSubcanvasWith:aBuilder
 
     self viewDirectoryDescriptionChanged.
-    ^ super postOpenAsSubcanvasWith:aBuilder.
+    super postOpenAsSubcanvasWith:aBuilder.
 !
 
 postOpenWith:aBuilder
@@ -1218,7 +1217,7 @@
     self masterApplication isNil ifTrue:[
         self masterApplication:nil.
     ].
-    ^ super preBuildWith:aBuilder.
+    super preBuildWith:aBuilder.
 !
 
 tryCloseApplications
@@ -4525,6 +4524,7 @@
     ].
     self startShell.
     super postOpenWith:aBuilder.
+    terminalView requestFocus.
 ! !
 
 !FileApplicationNoteBook::TextEditor class methodsFor:'defaults'!
@@ -7328,10 +7328,10 @@
 !FileApplicationNoteBook class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.291 2014-05-23 09:29:18 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.292 2014-06-03 09:20:34 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.291 2014-05-23 09:29:18 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.292 2014-06-03 09:20:34 cg Exp $'
 ! !