FindFileApplication.st
changeset 11122 02a57283d491
parent 11117 bf15e9902fe9
child 11423 ba26e541c690
child 12123 4bde08cebd48
equal deleted inserted replaced
11121:a94aeaabbfdf 11122:02a57283d491
   110 'Search for files containing this. Can be matchPatterns, separated by ";"'
   110 'Search for files containing this. Can be matchPatterns, separated by ";"'
   111 
   111 
   112 #namePattern
   112 #namePattern
   113 'Filename(s) to search for. Can be matchPatterns, separated by ";"'
   113 'Filename(s) to search for. Can be matchPatterns, separated by ";"'
   114 
   114 
       
   115 #excludedNamePattern
       
   116 'Filename(s) to skip. Can be matchPatterns, separated by ";"'
       
   117 
   115 #notContentsPattern
   118 #notContentsPattern
   116 'Search for files NOT containing this. Can be matchPatterns, separated by ";"'
   119 'Search for files NOT containing this. Can be matchPatterns, separated by ";"'
   117 
   120 
   118 #searchDirectory
   121 #searchDirectory
   119 'Folder, where the search starts'
   122 'Folder, where the search starts'
   130 #fileSize
   133 #fileSize
   131 'Search for files with a specific size constraint ("~" means: +/- 10%)'
   134 'Search for files with a specific size constraint ("~" means: +/- 10%)'
   132 
   135 
   133 )
   136 )
   134 
   137 
   135     "Modified: / 11-01-2012 / 23:32:42 / cg"
   138     "Modified: / 13-01-2012 / 14:40:34 / cg"
   136 ! !
   139 ! !
   137 
   140 
   138 !FindFileApplication class methodsFor:'history'!
   141 !FindFileApplication class methodsFor:'history'!
   139 
   142 
   140 addToSearchStringHistory:aString
   143 addToSearchStringHistory:aString
   237                     immediateAccept: true
   240                     immediateAccept: true
   238                     acceptOnLeave: false
   241                     acceptOnLeave: false
   239                     acceptOnPointerLeave: false
   242                     acceptOnPointerLeave: false
   240                   )
   243                   )
   241                  (LabelSpec
   244                  (LabelSpec
       
   245                     label: 'But Not Named:'
       
   246                     name: 'Label1'
       
   247                     layout: (LayoutFrame 2 0 55 0 154 0 72 0)
       
   248                     activeHelpKey: excludedNamePattern
       
   249                     translateLabel: true
       
   250                     adjust: right
       
   251                   )
       
   252                  (InputFieldSpec
       
   253                     name: 'EntryField1'
       
   254                     layout: (LayoutFrame 156 0 52 0 -315 1 72 0)
       
   255                     activeHelpKey: excludedNamePattern
       
   256                     tabable: true
       
   257                     model: excludedNamePatternHolder
       
   258                     immediateAccept: true
       
   259                     acceptOnLeave: false
       
   260                     acceptOnPointerLeave: false
       
   261                   )
       
   262                  (LabelSpec
   242                     label: 'Containing:'
   263                     label: 'Containing:'
   243                     name: 'ContentsLabel'
   264                     name: 'ContentsLabel'
   244                     layout: (LayoutFrame 2 0 79 0 154 0 96 0)
   265                     layout: (LayoutFrame 2 0 79 0 154 0 96 0)
   245                     activeHelpKey: contentsPattern
   266                     activeHelpKey: contentsPattern
   246                     translateLabel: true
   267                     translateLabel: true
   384                     tabable: true
   405                     tabable: true
   385                     model: ignoreCaseInName
   406                     model: ignoreCaseInName
   386                     translateLabel: true
   407                     translateLabel: true
   387                   )
   408                   )
   388                  (CheckBoxSpec
   409                  (CheckBoxSpec
       
   410                     label: 'Ignore Case'
       
   411                     name: 'CheckBox1'
       
   412                     layout: (LayoutFrame -169 1 53 0 -4 1 76 0)
       
   413                     activeHelpKey: ignoreCase
       
   414                     tabable: true
       
   415                     model: ignoreCaseInExcludedName
       
   416                     translateLabel: true
       
   417                   )
       
   418                  (CheckBoxSpec
   389                     label: 'Use ''grep'' Cmd'
   419                     label: 'Use ''grep'' Cmd'
   390                     name: 'UseGrepCheckBox'
   420                     name: 'UseGrepCheckBox'
   391                     layout: (LayoutFrame -309 1 77 0 -167 1 100 0)
   421                     layout: (LayoutFrame -309 1 77 0 -167 1 100 0)
   392                     visibilityChannel: canUseGrep
   422                     visibilityChannel: canUseGrep
   393                     enableChannel: notSearchForSameContents
   423                     enableChannel: notSearchForSameContents
   429                     label: 'Clear Cache'
   459                     label: 'Clear Cache'
   430                     name: 'ClearCacheButton'
   460                     name: 'ClearCacheButton'
   431                     layout: (LayoutFrame -169 1 125 0 -44 1 147 0)
   461                     layout: (LayoutFrame -169 1 125 0 -44 1 147 0)
   432                     translateLabel: true
   462                     translateLabel: true
   433                     model: clearCache
   463                     model: clearCache
   434                   )
       
   435                  (LabelSpec
       
   436                     label: 'But Not Named:'
       
   437                     name: 'Label1'
       
   438                     layout: (LayoutFrame 2 0 55 0 154 0 72 0)
       
   439                     activeHelpKey: namePattern
       
   440                     translateLabel: true
       
   441                     adjust: right
       
   442                   )
       
   443                  (InputFieldSpec
       
   444                     name: 'EntryField1'
       
   445                     layout: (LayoutFrame 156 0 52 0 -315 1 72 0)
       
   446                     activeHelpKey: namePattern
       
   447                     tabable: true
       
   448                     model: excludedNamePatternHolder
       
   449                     immediateAccept: true
       
   450                     acceptOnLeave: false
       
   451                     acceptOnPointerLeave: false
       
   452                   )
       
   453                  (CheckBoxSpec
       
   454                     label: 'Ignore Case'
       
   455                     name: 'CheckBox1'
       
   456                     layout: (LayoutFrame -169 1 53 0 -4 1 76 0)
       
   457                     activeHelpKey: ignoreCase
       
   458                     tabable: true
       
   459                     model: ignoreCaseInExcludedName
       
   460                     translateLabel: true
       
   461                   )
   464                   )
   462                  )
   465                  )
   463                
   466                
   464               )
   467               )
   465             )
   468             )
   486            )
   489            )
   487          
   490          
   488         )
   491         )
   489       )
   492       )
   490 
   493 
       
   494     "Modified: / 13-01-2012 / 14:40:06 / cg"
   491 ! !
   495 ! !
   492 
   496 
   493 !FindFileApplication class methodsFor:'menu specs'!
   497 !FindFileApplication class methodsFor:'menu specs'!
   494 
   498 
   495 menu
   499 menu
  1675 ! !
  1679 ! !
  1676 
  1680 
  1677 !FindFileApplication class methodsFor:'documentation'!
  1681 !FindFileApplication class methodsFor:'documentation'!
  1678 
  1682 
  1679 version
  1683 version
  1680     ^ '$Header: /cvs/stx/stx/libtool/FindFileApplication.st,v 1.99 2012-01-12 02:33:29 cg Exp $'
  1684     ^ '$Header: /cvs/stx/stx/libtool/FindFileApplication.st,v 1.100 2012-01-13 13:44:18 cg Exp $'
  1681 !
  1685 !
  1682 
  1686 
  1683 version_CVS
  1687 version_CVS
  1684     ^ '$Header: /cvs/stx/stx/libtool/FindFileApplication.st,v 1.99 2012-01-12 02:33:29 cg Exp $'
  1688     ^ '$Header: /cvs/stx/stx/libtool/FindFileApplication.st,v 1.100 2012-01-13 13:44:18 cg Exp $'
  1685 ! !
  1689 ! !