|
Class: AbstractDirectoryBrowser
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
Abstract class containing the common code from DirectoryTreeBrowser and
DirectoryContentsBrowser applications.
copyrightCOPYRIGHT (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.
queries
-
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.
accessing
-
directory
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
fileList
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
updateToExternFileHolderLock
-
actions
-
findFilesMatching: aGLOBPattern
-
search files which match aGLOBPattern.
If a folder is selected, the search starts there;
otherwise in the top folder
-
findFilesMatching: aGLOBPattern in: searchDir
-
search files which match aGLOBPattern.
drag & drop
-
canDrop: aDropContext
-
-
doDrop: aContext
-
-
dropDestinationPath
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
dropEnter: aContext
-
self directory isNil ifTrue:[^ self].
-
dropLeave: aDropContext
-
called, when leaving the widget
-
dropTargetItemChangedTo: anItem in: aContext
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
getDropObjects: anArgument
-
-
getLineNumberFor: aDropContext
-
-
pushUserEvent: selector withArgument: argument
-
-
removeExpandItemTimedBlock
-
left blank
file actions
-
doCopy
-
copy the selected files/directories to the clipBoard
-
doCut
-
cut the selected files/directories to the clipBoard
-
doDelete
-
delete the selected files/directories
-
doErase
-
erase the selected files
-
findAndSelectFilesMatching: aGLOBPattern
-
-
findAndSelectNextFileMatching: aGLOBPattern
-
-
findAndSelectNextFileMatching: aGLOBPattern under: topDirectoryItem
-
-
findAndSelectNextFileMatching: aGLOBPattern under: topDirectoryItem searchInfoInto: aBlockOrNil
-
-
findNextFileMatching: aGLOBPattern startingAt: anItemOrNil
-
search files which match aGLOBPattern in the tree.
-
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
-
selectedFiles
-
startup & release
-
initialize
-
-
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.
-
postOpenFromMaster: fromMaster
-
** This method must be redefined in concrete classes (subclassResponsibility) **
-
postOpenWith: aBuilder
-
this is sent after the applications main window is opened.
Can be redefined in subclasses for actions after opening the view.
-
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.
|