eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractFileFinderApplicationComponent':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: AbstractFileFinderApplicationComponent


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractFileApplicationNoteBookComponent
            |
            +--AbstractFileFinderApplicationComponent
               |
               +--DirectoryDifferenceViewApplication
               |
               +--FindFileApplication

Package:
stx:libtool
Category:
Interface-Tools-File
Version:
rev: 1.46 date: 2024/03/06 12:35:15
user: cg
file: AbstractFileFinderApplicationComponent.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


   abstract superclass of file-search appliations which are embedded in the file browserV2

copyright

COPYRIGHT (c) 2002 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Class protocol:

queries
o  isAbstract
Return if this class is an abstract class.
True is returned here for myself only; false for subclasses.
Abstract subclasses must redefine this again.

o  searchResultTable

** This method must be redefined in concrete classes (subclassResponsibility) **


Instance protocol:

accessing
o  stopSignal

o  synchronizationSemaphore
(comment from inherited method)
return the synchronization semaphore for myself.
subclasses may redefine.
Return nil, if none has been allocated yet.

o  targetApplication: anApplication
Modified (format): / 11-01-2012 / 22:41:01 / cg

actions
o  changeInformationTo: aString

o  changeInformationTo: aString toTab: aBoolean

o  clearShownList

o  copySelectedFileNamesToClipboard

o  doSearch

** This method must be redefined in concrete classes (subclassResponsibility) **

o  generateResultStringForTimeElapsed: timeDuration
at the end of a search, generate a nice informative summary string.
This can be redefined by different search tabs

o  openInNewBrowser

o  selectInBrowser
Modified (format): / 15-06-2019 / 08:44:29 / Claus Gittinger

o  startSearchTask: aBlock name: taskName
self changeInformationTo:'Find File ' , '- searching ' toTab:true.

o  stop

o  stopSearchTask

aspects
o  autoSelectInBrowser

o  autoSelectInBrowserHolder

o  contentsPatternHolder
to be redefined

o  enableSearch

o  enableStop

o  hasListEntries

o  ignoreCaseInContents
to be redefined

o  matchedFilesList

o  resultList

o  searchRecursively

o  searchResultTable

o  selectionHolder

o  shownList

o  shownListHolder

change & update
o  update: something with: aParameter from: changedObject
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:

drag & drop
o  getDisplayObjects: anArgument
retrieve the objects displayed during a drag

o  getDropObjects: anArgument
common code, used in subclasses

event handling
o  fileDoubleClick: file
should this be done in openApplForFile?

o  fileListDoubleClick: indexOrIndexCollection

o  fileSelected: entries

o  processEvent: anEvent
filter keyboard events.
Return true, if I have eaten the event

initialization
o  initialize
must be called if redefined

queries
o  hasOneFileSelected

o  hasSelectionInResultList

o  hasTwoFilesSelected

o  hasTwoImageFilesSelected

tasks
o  stopSearchTaskOrAbort



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Tue, 22 Oct 2024 14:26:47 GMT