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
         |
         +--AbstractFileBrowser
            |
            +--AbstractDirectoryBrowser
               |
               +--DirectoryContentsBrowser
               |
               +--DirectoryTreeBrowser

Package:
stx:libtool
Category:
Interface-Tools-File
Version:
rev: 1.40 date: 2019/05/02 19:28:13
user: cg
file: AbstractDirectoryBrowser.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Christian Penk

Description:


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


Class protocol:

queries
o  isAbstract


Instance protocol:

accessing
o  directory

** This method raises an error - it must be redefined in concrete classes **

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.

o  findNextFileMatching: aGLOBPattern startingAt: anItemOrNil
search files which match aGLOBPattern.

drag & drop
o  canDrop: aDropContext

o  doDrop: aContext

o  dropDestinationPath

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

o  dropLeave: aDropContext
called, when leaving the widget

o  dropTargetItemChangedTo: anItem in: aContext

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

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

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



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 20:58:46 GMT