FileApplicationNoteBook.st
branchjv
changeset 12517 3a904476a8d2
parent 12431 9f0c59c742d5
parent 12480 2d1bd93f29d1
child 13170 c9b815af5777
--- a/FileApplicationNoteBook.st	Fri Mar 15 10:14:37 2013 +0000
+++ b/FileApplicationNoteBook.st	Fri Mar 22 09:21:23 2013 +0000
@@ -125,6 +125,7 @@
 "
 ! !
 
+
 !FileApplicationNoteBook class methodsFor:'application list'!
 
 applicationList
@@ -177,6 +178,7 @@
     ^ aApplicationListItem at:2
 ! !
 
+
 !FileApplicationNoteBook class methodsFor:'classAccess'!
 
 textEditorClass
@@ -184,6 +186,7 @@
     ^ TextEditor
 ! !
 
+
 !FileApplicationNoteBook class methodsFor:'defaults'!
 
 openAnotherApplicationOnSameItem
@@ -191,6 +194,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook class methodsFor:'interface specs'!
 
 windowSpec
@@ -238,6 +242,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook class methodsFor:'menu specs'!
 
 tabMenu
@@ -306,6 +311,7 @@
     "Modified: / 27-03-2007 / 11:13:52 / cg"
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'accessing'!
 
 listOfApplications
@@ -330,6 +336,7 @@
     selectionHistoryList := aCol 
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'accessing-applications'!
 
 getAllApplicationsByClass:aClass andType:aType
@@ -371,6 +378,7 @@
         ].
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'actions-app-common'!
 
 changeItem:anItem for:anAppl
@@ -745,6 +753,7 @@
     "Modified (format): / 29-11-2011 / 19:07:57 / cg"
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'actions-app-spec'!
 
 addTerminalIn:aDirectory
@@ -883,12 +892,14 @@
             preSetItem:[:aTextEditor | aTextEditor presentation:#hexDump].
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'applicationlist access'!
 
 applicationList
     ^ self class applicationList
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'aspects'!
 
 canvasHolder
@@ -1014,6 +1025,7 @@
     tabList := aValue.
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'change & update'!
 
 canvasChanged
@@ -1101,6 +1113,7 @@
     ^ self.
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'menu & actions'!
 
 destroyTabAt:idx
@@ -1124,6 +1137,7 @@
     "Modified: / 27-03-2007 / 10:57:25 / cg"
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'queries'!
 
 getSameFilesModifiedFor:aAppl
@@ -1142,6 +1156,7 @@
     ^ colOfChanged
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'selection'!
 
 currentTabMenusApplication
@@ -1179,6 +1194,7 @@
     ^ canvas application.
 ! !
 
+
 !FileApplicationNoteBook methodsFor:'startup & release'!
 
 closeRequest
@@ -1228,6 +1244,7 @@
     ^ true
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication class methodsFor:'defaults'!
 
 tabStringFor:aApplicationType
@@ -1238,6 +1255,7 @@
     "Modified: / 01-03-2007 / 21:43:13 / cg"
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication class methodsFor:'help specs'!
 
 flyByHelpSpec
@@ -1300,6 +1318,7 @@
 )
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication class methodsFor:'image specs'!
 
 extract28x28Icon
@@ -1381,6 +1400,7 @@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 8 4 8 105 133 190 121 133 157 129 129 129 194 194 194 255 0 0]; mask:((Depth1Image new) width: 28; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@LC@@@A!! @@@L0@@@A8@@@@L@@@@G @@@CL@@@A!! @@@0L@@@@@@@BY=5LAIUUT S5UU8D!!UUPAFU\#@@@@@@@LR9@@D)J @A:R(@@P$*@@CIN @@@@@@@@@a') ; yourself); yourself]
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication class methodsFor:'interface specs'!
 
 windowSpec
@@ -1478,6 +1498,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication class methodsFor:'menu specs'!
 
 fileListMenu
@@ -1615,6 +1636,7 @@
     "Modified: / 12-01-2012 / 00:34:06 / cg"
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication class methodsFor:'queries'!
 
 canOpenItem:anItem
@@ -1645,6 +1667,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication class methodsFor:'tableColumns specs'!
 
 tableColumns
@@ -1806,6 +1829,7 @@
     
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'accessing'!
 
 archiver
@@ -1872,6 +1896,7 @@
     ^ temporaryDirectory
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'actions'!
 
 changeItem:anItem 
@@ -1982,6 +2007,7 @@
     ].
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'aspects'!
 
 archiveFileList
@@ -2059,6 +2085,7 @@
     ^ viewErrorList
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'change & update'!
 
 update:something with:aParameter from:changedObject
@@ -2078,6 +2105,7 @@
     self errorListVisibilityHolder value:viewListValue.
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'command execution'!
 
 getErrorBlock
@@ -2195,6 +2223,7 @@
     ].
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'command helper'!
 
 selectDirectoryDialog
@@ -2257,6 +2286,7 @@
     ^ dir
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'commands add'!
 
 addFilesToArchive:colOfFiles 
@@ -2282,6 +2312,7 @@
     ^ true
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'commands extract'!
 
 extractAll
@@ -2318,6 +2349,7 @@
 "/    self updateFileBrowserIfPresentWith:dir.
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'commands extract private'!
 
 extractAllTo:aDirectory 
@@ -2401,6 +2433,7 @@
     "Modified (format): / 29-11-2011 / 18:58:01 / cg"
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'commands list'!
 
 listAllFiles
@@ -2425,6 +2458,7 @@
     ]
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'commands remove'!
 
 removeFilesFromArchive
@@ -2454,6 +2488,7 @@
     self archiveFileList value removeAllFoundIn:realSel
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'drag & drop'!
 
 canDrop:aContext
@@ -2533,6 +2568,7 @@
     ^ sel collect:[:el| DropObject newFileInArchive:(el fileName asFilename) ].
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'event handling'!
 
 processEvent:anEvent 
@@ -2557,6 +2593,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'initialization & release'!
 
 postBuildFileTable:aWidget
@@ -2603,6 +2640,7 @@
     ^ super release.
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'queries'!
 
 canDelete
@@ -2650,6 +2688,7 @@
     ^ newSel.
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication methodsFor:'sorting'!
 
 generateSortBlock:instanceName
@@ -2711,6 +2750,7 @@
     fileList addAll:sortCol.
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication::ArchivItem methodsFor:'accessing'!
 
 compressSize
@@ -2963,12 +3003,14 @@
     self year:(Integer readFrom:yearString)
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication::ArchivItem methodsFor:'printing'!
 
 printOn:aStream
     aStream nextPutAll:self fileName asString
 ! !
 
+
 !FileApplicationNoteBook::ArchiveViewApplication::ArchivItem methodsFor:'queries'!
 
 hasDirectoryPart
@@ -2976,6 +3018,7 @@
     ^ self fileName asFilename components size ~= 1
 ! !
 
+
 !FileApplicationNoteBook::CommandResult class methodsFor:'defaults'!
 
 tabStringFor:aApplicationType
@@ -2991,6 +3034,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::CommandResult class methodsFor:'interface specs'!
 
 windowSpec
@@ -3052,6 +3096,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::CommandResult class methodsFor:'menu specs'!
 
 menu
@@ -3099,6 +3144,7 @@
     "Modified: / 12-01-2012 / 00:33:56 / cg"
 ! !
 
+
 !FileApplicationNoteBook::CommandResult methodsFor:'accessing'!
 
 resultStream
@@ -3113,6 +3159,7 @@
     resultStream := something.
 ! !
 
+
 !FileApplicationNoteBook::CommandResult methodsFor:'actions'!
 
 changeTabTo:aString 
@@ -3136,6 +3183,7 @@
     ].
 ! !
 
+
 !FileApplicationNoteBook::CommandResult methodsFor:'aspects'!
 
 enableStopButton
@@ -3156,6 +3204,7 @@
     ^ process
 ! !
 
+
 !FileApplicationNoteBook::CommandResult methodsFor:'change & update'!
 
 update:something with:aParameter from:changedObject
@@ -3166,6 +3215,7 @@
     super update:something with:aParameter from:changedObject
 ! !
 
+
 !FileApplicationNoteBook::CommandResult methodsFor:'initialization & release'!
 
 postBuildTextCollector:aBuilder
@@ -3193,12 +3243,14 @@
     ^ super release
 ! !
 
+
 !FileApplicationNoteBook::CommandResult methodsFor:'printing'!
 
 printOn:aStream
     aStream nextPutAll:'CommandResult Application'.
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication class methodsFor:'defaults'!
 
 tabStringFor:anApplicationType
@@ -3209,6 +3261,7 @@
     "Modified: / 01-03-2007 / 21:43:23 / cg"
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication class methodsFor:'documentation'!
 
 documentation
@@ -3218,6 +3271,7 @@
 "
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication class methodsFor:'help specs'!
 
 flyByHelpSpec
@@ -3241,6 +3295,7 @@
 )
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication class methodsFor:'interface specs'!
 
 windowSpec
@@ -3297,6 +3352,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication class methodsFor:'menu specs'!
 
 menu
@@ -3355,6 +3411,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication class methodsFor:'queries'!
 
 canOpenItem:anItem
@@ -3366,6 +3423,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication methodsFor:'accessing'!
 
 imageView
@@ -3395,6 +3453,7 @@
 "/    self notify:msg.
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication methodsFor:'actions'!
 
 changeItem:anItem
@@ -3408,6 +3467,7 @@
     imageView readFile:self fileName
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication methodsFor:'aspects'!
 
 fitSize
@@ -3420,6 +3480,7 @@
     ^ fitSize
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication methodsFor:'change & update'!
 
 update:something with:aParameter from:changedObject
@@ -3434,6 +3495,7 @@
     super update:something with:aParameter from:changedObject
 ! !
 
+
 !FileApplicationNoteBook::DigitalNotepadFileViewApplication methodsFor:'initialization & release'!
 
 postBuildImageView:aWidget
@@ -3466,6 +3528,7 @@
     super postOpenWith:aBuilder
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication class methodsFor:'defaults'!
 
 tabStringFor:aApplicationType
@@ -3476,6 +3539,7 @@
     "Modified: / 01-03-2007 / 21:43:18 / cg"
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication class methodsFor:'help specs'!
 
 helpSpec
@@ -3499,6 +3563,7 @@
 )
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication class methodsFor:'interface specs'!
 
 windowSpec
@@ -3640,6 +3705,7 @@
     "Modified: / 11-08-2011 / 00:34:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication class methodsFor:'menu specs'!
 
 menu
@@ -3743,6 +3809,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication class methodsFor:'queries'!
 
 canOpenItem:anItem
@@ -3755,6 +3822,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication methodsFor:'accessing'!
 
 htmlView
@@ -3779,6 +3847,7 @@
     ^ retVal
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication methodsFor:'accessing - subapps'!
 
 webBrowserPage
@@ -3792,6 +3861,7 @@
     "Created: / 11-08-2011 / 00:32:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication methodsFor:'actions'!
 
 doEdit
@@ -3846,6 +3916,7 @@
     "Modified: / 17-02-2011 / 14:01:35 / cg"
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication methodsFor:'aspects'!
 
 labelHolder
@@ -3856,6 +3927,7 @@
     ^ labelHolder.
 ! !
 
+
 !FileApplicationNoteBook::HtmlViewApplication methodsFor:'initialization & release'!
 
 postBuildHtmlView:aWidget
@@ -3893,6 +3965,7 @@
     "Modified: / 17-02-2011 / 13:27:12 / cg"
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'defaults'!
 
 tabStringFor:aApplicationType
@@ -3903,6 +3976,7 @@
     "Modified: / 01-03-2007 / 21:43:23 / cg"
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'documentation'!
 
 documentation
@@ -3912,6 +3986,7 @@
 "
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'help specs'!
 
 flyByHelpSpec
@@ -3935,6 +4010,7 @@
 )
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'image specs'!
 
 fitSize20x20Icon
@@ -3966,6 +4042,7 @@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'interface specs'!
 
 windowSpec
@@ -4022,6 +4099,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'menu specs'!
 
 menu
@@ -4080,6 +4158,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication class methodsFor:'queries'!
 
 canOpenItem:anItem
@@ -4092,6 +4171,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication methodsFor:'accessing'!
 
 image:something
@@ -4126,6 +4206,7 @@
     self notify:msg.
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication methodsFor:'actions'!
 
 changeItem:anItem
@@ -4181,6 +4262,7 @@
     "Modified: / 25-07-2006 / 09:09:33 / cg"
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication methodsFor:'aspects'!
 
 fitSize
@@ -4193,6 +4275,7 @@
     ^ fitSize
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication methodsFor:'change & update'!
 
 update:something with:aParameter from:changedObject
@@ -4207,6 +4290,7 @@
     super update:something with:aParameter from:changedObject
 ! !
 
+
 !FileApplicationNoteBook::ImageViewApplication methodsFor:'initialization & release'!
 
 postBuildImageView:aWidget
@@ -4240,6 +4324,7 @@
     super postOpenWith:aBuilder
 ! !
 
+
 !FileApplicationNoteBook::Terminal class methodsFor:'defaults'!
 
 defaultLineLimit
@@ -4262,6 +4347,7 @@
     "Modified: / 01-03-2007 / 21:43:38 / cg"
 ! !
 
+
 !FileApplicationNoteBook::Terminal class methodsFor:'help specs'!
 
 helpSpec
@@ -4285,6 +4371,7 @@
 )
 ! !
 
+
 !FileApplicationNoteBook::Terminal class methodsFor:'interface specs'!
 
 windowSpec
@@ -4340,6 +4427,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::Terminal class methodsFor:'menu specs'!
 
 menu
@@ -4385,6 +4473,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::Terminal methodsFor:'accessing'!
 
 terminalView
@@ -4407,6 +4496,7 @@
     "Modified: / 05-04-2012 / 15:58:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
+
 !FileApplicationNoteBook::Terminal methodsFor:'actions'!
 
 saveAs
@@ -4414,6 +4504,7 @@
     self terminalView save.
 ! !
 
+
 !FileApplicationNoteBook::Terminal methodsFor:'initialization & release'!
 
 shellFinished
@@ -4440,6 +4531,7 @@
     vt100 startShellIn:(self fileName).
 ! !
 
+
 !FileApplicationNoteBook::Terminal methodsFor:'printing'!
 
 printOn:aStream
@@ -4447,6 +4539,7 @@
     self fileName baseName printOn:aStream.
 ! !
 
+
 !FileApplicationNoteBook::Terminal methodsFor:'queries'!
 
 getTabValueString
@@ -4457,6 +4550,7 @@
     "Created: / 01-03-2007 / 21:39:56 / cg"
 ! !
 
+
 !FileApplicationNoteBook::Terminal methodsFor:'startup & release'!
 
 postOpenWith:aBuilder
@@ -4470,6 +4564,7 @@
     super postOpenWith:aBuilder.
 ! !
 
+
 !FileApplicationNoteBook::TextEditor class methodsFor:'defaults'!
 
 checkModifiedDelayTime
@@ -4498,6 +4593,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::TextEditor class methodsFor:'documentation'!
 
 documentation
@@ -4507,6 +4603,7 @@
 "
 ! !
 
+
 !FileApplicationNoteBook::TextEditor class methodsFor:'help specs'!
 
 helpSpec
@@ -4530,6 +4627,7 @@
 )
 ! !
 
+
 !FileApplicationNoteBook::TextEditor class methodsFor:'interface specs'!
 
 windowSpec
@@ -4661,6 +4759,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::TextEditor class methodsFor:'menu specs'!
 
 menu
@@ -4780,6 +4879,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'accessing'!
 
 fileEncoding
@@ -4847,6 +4947,7 @@
     self changeInformation.
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'actions'!
 
 accept
@@ -5253,15 +5354,15 @@
     |answer fn master defaultDir dir base fnDir|
 
     master := self masterApplication.
-    self fileName notNil ifTrue:[
-        dir := self fileName directory.
-        base := self fileName baseName.
+    (fn := self fileName) notNil ifTrue:[
+        dir := fn directory.
+        base := fn baseName.
     ].
 
     ask ifTrue:[
         defaultDir := master notNil ifTrue:[ master currentDirectory ] ifFalse:[ nil ].
         defaultDir isNil ifTrue:[
-            self fileName notNil ifTrue:[
+            fn notNil ifTrue:[
                 defaultDir := dir.
             ]
         ].
@@ -5271,8 +5372,6 @@
             fromDirectory:defaultDir.
         answer isEmptyOrNil ifTrue:[^ self].
         fn := answer asFilename.
-    ] ifFalse:[
-        fn := self fileName
     ].
 
     (master notNil and:[master class openAnotherApplicationOnSameItem]) ifTrue:[
@@ -5288,7 +5387,8 @@
             ^ self.
         ]
     ].
-    (editView saveAs:fn) ifFalse:[^ self].
+
+    (editView saveAs:fn doAppend:false compressTabs:master compressTabsOnSave) ifFalse:[^ self].
 
     textEditorModificationTime := self fileName modificationTime.
 
@@ -5468,6 +5568,7 @@
     ].
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'aspects'!
 
 cursorColLabelHolder
@@ -5607,6 +5708,7 @@
     ^ viewModifiedChannel.
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'aspects-visibility'!
 
 closeButtonShown
@@ -5651,6 +5753,7 @@
     "Modified: / 06-10-2011 / 12:46:41 / cg"
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'change & update'!
 
 changeTextColorForChanged
@@ -5826,6 +5929,7 @@
     "Created: / 23-06-2011 / 16:32:44 / cg"
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'initialization'!
 
 initialize
@@ -5833,6 +5937,7 @@
     semaChangeItem := Semaphore forMutualExclusion.
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'printing'!
 
 printOn:aStream
@@ -5844,6 +5949,7 @@
     ]
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'private-process'!
 
 checkItemForChanges
@@ -5900,6 +6006,7 @@
     Processor addTimedBlock:checkModifiedBlock afterSeconds:(self class checkModifiedDelayTime).
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'queries'!
 
 additionalInfo
@@ -5923,6 +6030,7 @@
     ^ true
 ! !
 
+
 !FileApplicationNoteBook::TextEditor methodsFor:'startup & release'!
 
 closeRequest
@@ -6044,6 +6152,7 @@
     "Modified: / 10-04-2007 / 15:24:22 / cg"
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication class methodsFor:'defaults'!
 
 tabStringFor:aApplicationType
@@ -6054,6 +6163,7 @@
     "Modified: / 17-02-2011 / 13:28:22 / cg"
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication class methodsFor:'help specs'!
 
 helpSpec
@@ -6077,6 +6187,7 @@
     "Modified: / 17-02-2011 / 13:28:28 / cg"
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication class methodsFor:'interface specs'!
 
 windowSpec
@@ -6133,6 +6244,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication class methodsFor:'menu specs'!
 
 menu
@@ -6181,6 +6293,7 @@
     "Modified: / 17-02-2011 / 17:30:26 / cg"
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication class methodsFor:'queries'!
 
 canOpenItem:anItem
@@ -6196,6 +6309,7 @@
     ^ false
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication methodsFor:'accessing'!
 
 item:anItem 
@@ -6240,6 +6354,7 @@
     "Modified: / 17-02-2011 / 17:39:15 / cg"
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication methodsFor:'actions'!
 
 reload
@@ -6248,6 +6363,7 @@
     "Created: / 17-02-2011 / 17:46:36 / cg"
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication methodsFor:'aspects'!
 
 labelHolder
@@ -6258,6 +6374,7 @@
     ^ labelHolder.
 ! !
 
+
 !FileApplicationNoteBook::XMLViewApplication methodsFor:'initialization & release'!
 
 postBuildXMLCanvas:aWidget
@@ -6267,6 +6384,7 @@
     "Modified: / 17-02-2011 / 13:39:18 / cg"
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication class methodsFor:'defaults'!
 
 maxNumberOfVNCRestarts
@@ -6304,6 +6422,7 @@
     ^ true
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication class methodsFor:'interface specs'!
 
 windowSpec
@@ -6360,6 +6479,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication class methodsFor:'menu specs'!
 
 menu
@@ -6395,6 +6515,7 @@
       )
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication class methodsFor:'queries'!
 
 canOpenItem:anItem
@@ -6417,6 +6538,7 @@
     ^ true
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication methodsFor:'accessing'!
 
 xView
@@ -6431,6 +6553,7 @@
     xView := something.
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication methodsFor:'actions'!
 
 changeInformation 
@@ -6469,6 +6592,7 @@
     self startViewer.
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication methodsFor:'actions VNC'!
 
 setupView
@@ -6637,6 +6761,7 @@
     ^ true
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication methodsFor:'actions viewer'!
 
 startViewer
@@ -6714,6 +6839,7 @@
     "/ Dialog information:'viewer has terminated'.
 ! !
 
+
 !FileApplicationNoteBook::XViewApplication methodsFor:'initialization & release'!
 
 postBuildXView:aWidget
@@ -6756,14 +6882,15 @@
     ^ super release
 ! !
 
+
 !FileApplicationNoteBook class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.275 2013-01-29 14:20:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.276 2013-03-19 13:53:54 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.275 2013-01-29 14:20:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/FileApplicationNoteBook.st,v 1.276 2013-03-19 13:53:54 cg Exp $'
 !
 
 version_HG