DirectoryView.st
changeset 590 c2f5cd223be2
parent 516 d336effde882
child 591 efb80a288277
equal deleted inserted replaced
589:e754379e9e58 590:c2f5cd223be2
    49     documentation to be added.
    49     documentation to be added.
    50 
    50 
    51     [author:]
    51     [author:]
    52         Thomas Zwick
    52         Thomas Zwick
    53 "
    53 "
    54 !
       
    55 
       
    56 history
       
    57     "Created: / 10.1.1998 / 10:59:49 / tz"
       
    58 ! !
    54 ! !
    59 
    55 
    60 !DirectoryView class methodsFor:'instance creation'!
    56 !DirectoryView class methodsFor:'instance creation'!
    61 
    57 
    62 openOnDirectory: aDirectoryString
    58 openOnDirectory: aDirectoryString
   142           #'printSelector:' #'iconOn:'
   138           #'printSelector:' #'iconOn:'
   143           #'canSelect:' false
   139           #'canSelect:' false
   144       )
   140       )
   145        #(#DataSetColumnSpec
   141        #(#DataSetColumnSpec
   146           #'label:' 'File name'
   142           #'label:' 'File name'
       
   143           #'labelAlignment:' #left
   147           #'minWidth:' 100
   144           #'minWidth:' 100
   148           #'model:' #baseName
   145           #'model:' #baseName
   149           #'canSelect:' false
   146           #'canSelect:' false
   150       )
   147       )
   151        #(#DataSetColumnSpec
   148        #(#DataSetColumnSpec
   152           #'label:' 'Size'
   149           #'label:' 'Size'
       
   150           #'labelAlignment:' #left
   153           #'width:' 50
   151           #'width:' 50
   154           #'model:' #size
   152           #'model:' #size
   155           #'canSelect:' false
   153           #'canSelect:' false
   156       )
   154       )
   157        #(#DataSetColumnSpec
   155        #(#DataSetColumnSpec
   158           #'label:' 'Modified'
   156           #'label:' ' Modified'
       
   157           #'labelAlignment:' #left
   159           #'model:' #modified
   158           #'model:' #modified
   160           #'canSelect:' false
   159           #'canSelect:' false
   161       )
   160       )
   162        #(#DataSetColumnSpec
   161        #(#DataSetColumnSpec
   163           #'label:' 'Permissions'
   162           #'label:' 'Permissions'
       
   163           #'labelAlignment:' #left
   164           #'width:' 85
   164           #'width:' 85
   165           #'model:' #permissions
   165           #'model:' #permissions
   166           #'canSelect:' false
   166           #'canSelect:' false
   167       )
   167       )
   168        #(#DataSetColumnSpec
   168        #(#DataSetColumnSpec
   169           #'label:' 'Owner'
   169           #'label:' 'Owner'
       
   170           #'labelAlignment:' #left
   170           #'width:' 50
   171           #'width:' 50
   171           #'model:' #owner
   172           #'model:' #owner
   172           #'canSelect:' false
   173           #'canSelect:' false
   173       )
   174       )
   174        #(#DataSetColumnSpec
   175        #(#DataSetColumnSpec
   175           #'label:' 'Group'
   176           #'label:' 'Group'
       
   177           #'labelAlignment:' #left
   176           #'width:' 50
   178           #'width:' 50
   177           #'model:' #group
   179           #'model:' #group
   178           #'canSelect:' false
   180           #'canSelect:' false
   179       )
   181       )
   180     )
   182     )
   344 ! !
   346 ! !
   345 
   347 
   346 !DirectoryView methodsFor:'private'!
   348 !DirectoryView methodsFor:'private'!
   347 
   349 
   348 readDirectory
   350 readDirectory
       
   351 
       
   352     |foundFiles| 
       
   353     foundFiles := OrderedCollection new.
       
   354     Cursor wait showWhile: 
       
   355     [ 
       
   356         (DirectoryContents directoryNamed: directory) filesDo: 
       
   357         [:file| 
       
   358             self listOfFileFilters value do:
       
   359             [:filter|
       
   360                 (file name includesMatchString: filter)
       
   361                 ifTrue:
       
   362                 [
       
   363                     foundFiles add: (FileRow new fileName: file)
       
   364                 ].
       
   365             ].
       
   366         ].
       
   367         self listOfFiles contents: foundFiles
       
   368     ]
       
   369 !
       
   370 
       
   371 readMonitoringDirectory
   349 
   372 
   350     |readBlock|
   373     |readBlock|
   351     readTask notNil ifTrue: [readTask terminate].
   374     readTask notNil ifTrue: [readTask terminate].
   352     readBlock :=
   375     readBlock :=
   353     [
   376     [
   466 
   489 
   467     ^self hFileIcon
   490     ^self hFileIcon
   468 !
   491 !
   469 
   492 
   470 MakefileIcon
   493 MakefileIcon
   471     "ImageEditor openOnClass:self andSelector:#MakefileIcon"
   494     "Generated by the Image Editor"
   472 
   495     "
   473     <resource: #image>
   496     ImageEditor openOnClass:self andSelector:#MakefileIcon
   474     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 128 0 48 128 0 48 128 0 48 164 149 176 189 89 48 165 217 176 165 85 59 165 85 180 128 0 48 128 0 48 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   497     "
       
   498 
       
   499     <resource: #image>
       
   500 
       
   501     ^Icon
       
   502         constantNamed:#'DirectoryView::FileRow MakefileIcon'
       
   503         ifAbsentPut:[(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???9 @_0 @W2 @S0 @Q0 @_0 @O8 @@0 @@0 @@0)IV0/U$0)]&0)UT;)UV4 @@0 @@0???0???0'); colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   475 
   504 
   476 binaryFileIcon
   505 binaryFileIcon
   477     "ImageEditor openOnClass:self andSelector:#binaryFileIcon"
   506     "Generated by the Image Editor"
   478 
   507     "
   479     <resource: #image>
   508     ImageEditor openOnClass:self andSelector:#binaryFileIcon
   480     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 243 128 7 247 128 5 244 142 100 240 155 100 112 155 103 243 155 99 245 155 96 48 142 96 57 128 0 48 153 192 50 155 96 48 155 96 48 155 96 49 155 96 56 153 192 48 128 0 48 255 255 240 255 255 241]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   509     "
       
   510 
       
   511     <resource: #image>
       
   512 
       
   513     ^Icon
       
   514         constantNamed:#'DirectoryView::FileRow binaryFileIcon'
       
   515         ifAbsentPut:[(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???3 @_7 @W4#&S0&6Q0&6_3&6O5&6@0#&@9 @@0&\@2&6@0&6@0&6@1&6@8&\@0 @@0???0???1'); colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   481 
   516 
   482 cFileIcon
   517 cFileIcon
   483     "ImageEditor openOnClass:self andSelector:#cFileIcon"
   518     "Generated by the Image Editor"
   484 
   519     "
   485     <resource: #image>
   520     ImageEditor openOnClass:self andSelector:#cFileIcon
   486     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 128 0 48 128 0 48 129 192 48 130 32 48 130 0 48 130 0 48 154 32 59 153 192 52 128 0 48 128 0 48 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   521     "
       
   522 
       
   523     <resource: #image>
       
   524 
       
   525     ^Icon
       
   526         constantNamed:#'DirectoryView::FileRow cFileIcon'
       
   527         ifAbsentPut:[(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???9 @_0 @W2 @S0 @Q0 @_0 @O8 @@0 @@0 \@0 "@0  @0  @0&"@;&\@4 @@0 @@0???0???0'); colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   487 
   528 
   488 exeFileIcon
   529 exeFileIcon
   489     "ImageEditor openOnClass:self andSelector:#exefileIcon"
   530     "Generated by the Image Editor"
   490 
   531     "
   491     <resource: #image>
   532     ImageEditor openOnClass:self andSelector:#exeFileIcon
   492     ^(Depth2Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(#[85 85 85 85 85 64 0 0 21 85 64 0 0 17 85 64 0 0 16 85 64 0 0 16 21 65 85 85 85 85 65 170 170 165 85 65 85 85 85 5 65 255 255 253 5 65 255 255 253 5 65 255 255 253 5 65 255 255 253 5 65 255 255 253 5 65 255 255 253 5 65 85 85 85 5 64 0 0 0 5 64 0 0 0 5 85 85 85 85 85 85 85 85 85 85]) ; colorMap:(((Array new:4) at:1 put:((Color white)); at:2 put:((Color black)); at:3 put:((Color red:0.0 green:49.9992 blue:49.9992)); at:4 put:((Color grey:66.9993)); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself
   533     "
   493 !
   534 
       
   535     <resource: #image>
       
   536 
       
   537     ^Icon
       
   538         constantNamed:#'DirectoryView::FileRow exeFileIcon'
       
   539         ifAbsentPut:[(Depth2Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUU@@@@UUT@@@AEUP@@@DEU@@@@PETEUUUUUPZ**)UUAUUUUATG???4EP_???PUA???=ATG???4EP_???PUA???=ATEUUUTEP@@@@@U@@@@@AUUUUUUUUUUUUUTb'); colorMap:(((Array new:4) at:1 put:((Color white)); at:2 put:((Color black)); at:3 put:((Color red:0.0 green:49.9977 blue:49.9977)); at:4 put:((Color grey:66.9978)); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   494 
   540 
   495 fileIcon
   541 fileIcon
   496     "ImageEditor openOnClass:self andSelector:#fileIcon"
   542     "Generated by the Image Editor"
   497 
   543     "
   498     <resource: #image>
   544     ImageEditor openOnClass:self andSelector:#fileIcon
   499     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 128 0 48 128 0 48 128 0 48 128 0 48 128 0 48 128 0 48 128 0 59 128 0 52 128 0 48 128 0 48 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   545     "
       
   546 
       
   547     <resource: #image>
       
   548 
       
   549     ^Icon
       
   550         constantNamed:#'DirectoryView::FileRow fileIcon'
       
   551         ifAbsentPut:[(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???9 @_0 @W2 @S0 @Q0 @_0 @O8 @@0 @@0 @@0 @@0 @@0 @@0 @@; @@4 @@0 @@0???0???0'); colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   500 
   552 
   501 hFileIcon
   553 hFileIcon
   502     "ImageEditor openOnClass:self andSelector:#hFileIcon"
   554     "Generated by the Image Editor"
   503 
   555     "
   504     <resource: #image>
   556     ImageEditor openOnClass:self andSelector:#hFileIcon
   505     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 130 0 48 130 0 48 130 192 48 131 32 48 130 32 48 130 32 48 154 32 59 154 32 52 128 0 48 128 0 48 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   557     "
       
   558 
       
   559     <resource: #image>
       
   560 
       
   561     ^Icon
       
   562         constantNamed:#'DirectoryView::FileRow hFileIcon'
       
   563         ifAbsentPut:[(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???9 @_0 @W2 @S0 @Q0 @_0 @O8  @0  @0 ,@0 2@0 "@0 "@0&"@;&"@4 @@0 @@0???0???0'); colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   506 
   564 
   507 imageFileIcon
   565 imageFileIcon
   508     "ImageEditor openOnClass:self andSelector:#imageFileIcon"
   566     "ImageEditor openOnClass:self andSelector:#imageFileIcon"
   509 
   567 
   510     <resource: #image>
   568     <resource: #image>
   511     ^(Depth4Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(#[0 0 0 0 0 0 0 0 0 0 1 17 17 17 17 17 16 0 0 0 1 17 17 17 17 17 16 16 0 0 1 17 17 17 17 17 16 17 0 0 1 17 17 17 17 17 16 17 16 0 1 17 17 17 17 17 16 0 0 0 1 68 71 119 74 71 215 0 0 0 1 68 71 119 164 173 125 17 17 0 1 68 71 119 74 71 215 17 17 0 1 51 54 102 57 54 198 17 17 0 1 51 54 102 147 156 108 17 17 0 1 51 54 102 57 54 198 17 17 0 1 34 37 85 40 37 181 17 17 0 1 34 37 85 130 139 91 17 17 0 1 34 37 85 40 37 181 17 17 0 1 17 17 17 17 17 17 17 17 0 1 17 17 17 17 17 17 17 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]) ; colorMap:((OrderedCollection new add:(Color black); add:(Color white); add:(Color red:100.0 green:0.0 blue:0.0); add:(Color red:0.0 green:100.0 blue:0.0); add:(Color red:0.0 green:0.0 blue:100.0); add:(Color red:0.0 green:100.0 blue:100.0); add:(Color red:100.0 green:100.0 blue:0.0); add:(Color red:100.0 green:0.0 blue:100.0); add:(Color red:49.9992 green:0.0 blue:0.0); add:(Color red:0.0 green:49.9992 blue:0.0); add:(Color red:0.0 green:0.0 blue:49.9992); add:(Color red:0.0 green:49.9992 blue:49.9992); add:(Color red:49.9992 green:49.9992 blue:0.0); add:(Color red:49.9992 green:0.0 blue:49.9992); add:(Color grey:49.9992); add:(Color grey:66.9993); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   569     ^(Depth4Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(#[0 0 0 0 0 0 0 0 0 0 1 17 17 17 17 17 16 0 0 0 1 17 17 17 17 17 16 16 0 0 1 17 17 17 17 17 16 17 0 0 1 17 17 17 17 17 16 17 16 0 1 17 17 17 17 17 16 0 0 0 1 68 71 119 74 71 215 0 0 0 1 68 71 119 164 173 125 17 17 0 1 68 71 119 74 71 215 17 17 0 1 51 54 102 57 54 198 17 17 0 1 51 54 102 147 156 108 17 17 0 1 51 54 102 57 54 198 17 17 0 1 34 37 85 40 37 181 17 17 0 1 34 37 85 130 139 91 17 17 0 1 34 37 85 40 37 181 17 17 0 1 17 17 17 17 17 17 17 17 0 1 17 17 17 17 17 17 17 17 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]) ; colorMap:((OrderedCollection new add:(Color black); add:(Color white); add:(Color red:100.0 green:0.0 blue:0.0); add:(Color red:0.0 green:100.0 blue:0.0); add:(Color red:0.0 green:0.0 blue:100.0); add:(Color red:0.0 green:100.0 blue:100.0); add:(Color red:100.0 green:100.0 blue:0.0); add:(Color red:100.0 green:0.0 blue:100.0); add:(Color red:49.9992 green:0.0 blue:0.0); add:(Color red:0.0 green:49.9992 blue:0.0); add:(Color red:0.0 green:0.0 blue:49.9992); add:(Color red:0.0 green:49.9992 blue:49.9992); add:(Color red:49.9992 green:49.9992 blue:0.0); add:(Color red:49.9992 green:0.0 blue:49.9992); add:(Color grey:49.9992); add:(Color grey:66.9993); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   512 
   570 
   513 imgFileIcon
   571 imgFileIcon
   514     "ImageEditor openOnClass:self andSelector:#imgFileIcon"
   572     "Generated by the Image Editor"
   515 
   573     "
   516     <resource: #image>
   574     ImageEditor openOnClass:self andSelector:#imgFileIcon
   517     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 130 0 48 128 0 48 134 209 176 130 170 176 130 170 176 130 170 176 154 170 187 154 169 180 128 0 176 128 3 176 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   575     "
       
   576 
       
   577     <resource: #image>
       
   578 
       
   579     ^Icon
       
   580         constantNamed:#'DirectoryView::FileRow imgFileIcon'
       
   581         ifAbsentPut:[(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???9 @_0 @W2 @S0 @Q0 @_0 @O8  @0 @@0!!-F0 **0 **0 **0&**;&*&4 @B0 @N0???0???0'); colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   518 
   582 
   519 linkedFileIcon
   583 linkedFileIcon
   520     "ImageEditor openOnClass:self andSelector:#linkedFileIcon"
   584     "ImageEditor openOnClass:self andSelector:#linkedFileIcon"
   521 
   585 
   522     <resource: #image>
   586     <resource: #image>
   544 
   608 
   545     <resource: #image>
   609     <resource: #image>
   546     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 128 0 48 128 0 48 129 128 48 130 0 48 131 0 48 129 128 48 152 128 59 155 0 52 128 0 48 128 0 48 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   610     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 128 0 48 128 0 48 129 128 48 130 0 48 131 0 48 129 128 48 152 128 59 155 0 52 128 0 48 128 0 48 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   547 
   611 
   548 stFileIcon
   612 stFileIcon
   549     "ImageEditor openOnClass:self andSelector:#stFileIcon"
   613     "Generated by the Image Editor"
   550 
   614     "
   551     <resource: #image>
   615     ImageEditor openOnClass:self andSelector:#stFileIcon
   552     ^(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 255 249 128 7 240 128 5 242 128 4 240 128 4 112 128 7 240 128 3 248 128 16 48 128 16 48 129 188 48 130 16 48 131 16 48 129 144 48 152 144 59 155 12 52 128 0 48 128 0 48 255 255 240 255 255 240]) ; colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(#[255 252 0 255 254 0 255 255 0 255 255 128 255 255 192 255 255 224 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 255 255 240 127 255 240]) ; yourself); yourself!
   616     "
       
   617 
       
   618     <resource: #image>
       
   619 
       
   620     ^Icon
       
   621         constantNamed:#'DirectoryView::FileRow stFileIcon'
       
   622         ifAbsentPut:[(Depth1Image new) width: 20; height: 19; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???9 @_0 @W2 @S0 @Q0 @_0 @O8 A@0 A@0 [00 !!@0 1@0 Y@0&I@;&004 @@0 @@0???0???0'); colorMap:((OrderedCollection new add:(Color white); add:(Color black); yourself)); mask:((ImageMask new) width: 20; height: 19; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@??8@??<@??>@???@??? ???0???0???0???0???0???0???0???0???0???0???0???0_??0'); yourself); yourself]!
   553 
   623 
   554 stcFileIcon
   624 stcFileIcon
   555     "ImageEditor openOnClass:self andSelector:#stcFileIcon"
   625     "ImageEditor openOnClass:self andSelector:#stcFileIcon"
   556 
   626 
   557     <resource: #image>
   627     <resource: #image>