eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'AbstractDirectoryBrowser':

Home

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

Class: AbstractDirectoryBrowser


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--ApplicationWithFileHistory
            |
            +--AbstractFileBrowser
               |
               +--AbstractDirectoryBrowser
                  |
                  +--DirectoryContentsBrowser
                  |
                  +--DirectoryTreeBrowser

Package:
stx:libtool
Category:
Interface-Tools-File
Version:
rev: 1.50 date: 2024/04/18 14:23:16
user: cg
file: AbstractDirectoryBrowser.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


Abstract class containing the common code from DirectoryTreeBrowser and
DirectoryContentsBrowser applications.

copyright

COPYRIGHT (c) 2003 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.


Instance protocol:

accessing
o  directory

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

o  fileList

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

o  updateToExternFileHolderLock

actions
o  findFilesMatching: aGLOBPattern
search files which match aGLOBPattern.
If a folder is selected, the search starts there;
otherwise in the top folder

o  findFilesMatching: aGLOBPattern in: searchDir
search files which match aGLOBPattern.

drag & drop
o  canDrop: aDropContext

o  doDrop: aContext

o  dropDestinationPath

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

o  dropEnter: aContext
self directory isNil ifTrue:[^ self].

o  dropLeave: aDropContext
called, when leaving the widget

o  dropTargetItemChangedTo: anItem in: aContext

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

o  getDropObjects: anArgument

o  getLineNumberFor: aDropContext

o  pushUserEvent: selector withArgument: argument

o  removeExpandItemTimedBlock
left blank

file actions
o  doCopy
copy the selected files/directories to the clipBoard

o  doCut
cut the selected files/directories to the clipBoard

o  doDelete
delete the selected files/directories

o  doErase
erase the selected files

o  findAndSelectFilesMatching: aGLOBPattern

o  findAndSelectNextFileMatching: aGLOBPattern

o  findAndSelectNextFileMatching: aGLOBPattern under: topDirectoryItem

o  findAndSelectNextFileMatching: aGLOBPattern under: topDirectoryItem searchInfoInto: aBlockOrNil

o  findNextFileMatching: aGLOBPattern startingAt: anItemOrNil
search files which match aGLOBPattern in the tree.

o  findNextFileMatching: aGLOBPattern startingAt: anItemOrNil searchInfoInto: aBlockOrNil
search files which match aGLOBPattern in the tree.
If not nil, aBlockOrNil is called whenever a new folder is searched (for visual feeedback)

selection
o  selectedFiles

startup & release
o  initialize

o  postOpenAsSubcanvasWith: aBuilder
this is sent after the applications window is opened inside another application.
Can be redefined in subclasses for actions after showing the canvas view.

o  postOpenFromMaster: fromMaster

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

o  postOpenWith: aBuilder
this is sent after the applications main window is opened.
Can be redefined in subclasses for actions after opening the view.

o  preBuildWith: aBuilder
(comment from inherited method)
this is sent before an interface is built from a spec,
but only iff the appModel is not the same as the topView's app
(i.e. if it is not a build for the same appModel again).
In that case, preBuildAsSubcanvasWith is invoked.
Can be redefined in subclasses.



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 07 Oct 2024 22:44:51 GMT