|
Class: AbstractFileBrowser
Object
|
+--Model
|
+--ApplicationModel
|
+--AbstractFileBrowser
|
+--AbstractDirectoryBrowser
|
+--FileApplicationNoteBook
|
+--FileBrowserV2
- Package:
- stx:libtool
- Category:
- Interface-Tools-File
- Version:
- rev:
1.694
date: 2019/08/17 20:15:10
- user: cg
- file: AbstractFileBrowser.st directory: libtool
- module: stx stc-classLibrary: libtool
- Author:
- Christian Penk
Notice: this certainly needs a redesign - all those abstract-abstract classes which
define stuff which is only needed in some parts makes this hard to understand.
Especially the fact, that AbstractFileBrowser defines things both as abstract superclass
and as a container is almost incomprehensable...
[class variables:]
CommandHistory
CommandHistorySize
DefaultCommandPerSuffix
DefaultFilters
DirectoryBookmarks
LastEnforcedNameSpace
LastFileDiffDirectory
LastFileDiffFile
LastFileSelection
LastMercurialRepository
LastMoveDestination
LastMustMatchPattern
LastScriptBlockString
RootHolder
RuntimeAspects
VisitedDirectories
MaxFileSizeShownWithoutAsking ..... for big files, I will ask if only the first part is
to be shown. This number (if non-nil) suppresses this
question for files smaller.
The initial default is 1Mb (1024*1024)
accessing
-
currentSelection
-
-
currentSelection: aFilenameCol
-
-
directoryHistory
-
VisitedDirectories inspect.
-
maxFileSizeShownWithoutAsking
-
the max. filesize which is loaded without asking if only the first
part should be shown
-
maxFileSizeShownWithoutAsking: anIntegerOrNilForDefault
-
the max. filesize which is loaded without asking if only the first
part should be shown.
Nil resets to the default (currently 1Mb)
usage example(s):
self maxFileSizeShownWithoutAsking:nil
|
-
resetClassVars
-
AbstractFileBrowser resetClassVars
-
rootHolder
-
-
rootHolder: aRoot
-
accessing-bookmarks
-
addBookmark: aDirectoryPath
-
add aDirectoryPath to the list of our known bookmarks.
Do not add duplicates.
-
bookmarksFrom: aFileNameOrString
-
-
defaultBookMarksFileDirectory
-
the directory, where the default bookmarks are stored (as defaultBookMarksFilename)
-
defaultBookMarksFilename
-
the filename, in which the default bookmarks are stored (in defaultBookMarksDirectory)
-
directoryBookmarks
-
DirectoryBookmarks := nil.
self directoryBookmarks.
-
directoryBookmarks: collectionOfFilenames
-
-
editBookmarksWithDefault: aFilenameOrNil
-
-
hasBookmarks
-
-
loadBookmarksFrom: aFileNameOrString
-
-
removeBookmark: aDirectoryPath
-
-
saveBookmarks
-
-
saveBookmarks: bookmarks in: aFileNameOrString
-
save the bokmarks in aFileNameOrString.
Use Base64 coding
-
saveBookmarksIn: aFileNameOrString
-
save the bokmarks in aFileNameOrString.
Use Base64 coding
-
saveBookmarksInDefaultBookmarksFile
-
accessing-classes
-
directoryHistoryClass
-
aspects-visibility
-
cvsMenusAreShown
-
-
gitMenusAreShown
-
-
hgMenusAreShown
-
-
mercurialMenusAreShown
-
-
perforceMenusAreShown
-
-
svnMenusAreShown
-
defaults
-
commandHistory
-
-
commandHistorySize
-
max no of entries in the HistoryList
-
defaultFilterList
-
DefaultFilters := nil
-
initialCommandFor: fileName in: aDirectory intoBox: aBox
-
set a useful initial command in an execute box.
-
listOfRuntimeValuesToRemember
-
list of all aspects that will be remembered after closing a FileBrowserV2
-
resetAspects
-
self resetAspects
-
runtimeAspects
-
-
userPreferencesAspectList
-
list of all aspects that will be saved with save settings
that aspects will be image consistent if the settings are saved in Launcher
don't forget to add a access methods in UserPreferences if you add a aspect here
drag & drop
-
doStartDrag: aDropSource in: aView
-
set the cursors before starting the drag & drop operation
help specs
-
basicHelpSpec
-
self helpSpec
-
helpSpec
-
add help items for the history
usage example(s):
image specs
-
clearHistoryIcon
-
^ Icon deleteIcon
-
copyIcon
-
-
cutIcon
-
cut28x28Icon
-
deleteIcon
-
delete28x28Icon
-
directoryUpIcon
-
-
disabledCursorIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self disabledCursorIcon inspect
ImageEditor openOnClass:self andSelector:#disabledCursorIcon
Icon flushCachedIcons
|
-
enabledCursorIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self enabledCursorIcon inspect
ImageEditor openOnClass:self andSelector:#enabledCursorIcon
Icon flushCachedIcons
|
-
fileInIcon
-
-
historyBackIcon
-
-
historyForwardIcon
-
-
homeIcon
-
-
homeIcon2
-
-
htmlReloadIcon
-
-
leftDownIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self leftDownIcon inspect
ImageEditor openOnClass:self andSelector:#leftDownIcon
|
-
menuHistoryList9x20Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self menuHistoryList9x20Icon inspect
ImageEditor openOnClass:self andSelector:#menuHistoryList9x20Icon
Icon flushCachedIcons
|
-
menuHistoryListIcon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
self menuHistoryListIcon inspect
ImageEditor openOnClass:self andSelector:#menuHistoryListIcon
|
-
newDirectoryIcon
-
-
removeTabIcon
-
-
vt100Terminal
-
interface specs
-
encodingDialogSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:AbstractFileBrowser andSelector:#encodingDialogSpec
AbstractFileBrowser new openInterface:#encodingDialogSpec
|
-
lineEndConventionDialogSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:AbstractFileBrowser andSelector:#lineEndConventionDialogSpec
AbstractFileBrowser new openInterface:#lineEndConventionDialogSpec
|
-
tabStopConversionDialogSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
usage example(s):
UIPainter new openOnClass:AbstractFileBrowser andSelector:#tabStopConversionDialogSpec
AbstractFileBrowser new openInterface:#tabStopConversionDialogSpec
|
menu specs
-
baseBookmarksMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#baseBookmarksMenuSpec
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser baseBookmarksMenuSpec)) startUp
|
-
baseBookmarksMenuSpec2
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#baseBookmarksMenuSpec2
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser baseBookmarksMenuSpec2)) startUp
|
-
browserMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#browserMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser browserMenu)) startUp
|
-
directoryMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#directoryMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser directoryMenu)) startUp
|
-
editMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#editMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser editMenu)) startUp
|
-
emptyMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#emptyMenuSpec
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser emptyMenuSpec)) startUp
|
-
extraMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#extraMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser extraMenu)) startUp
|
-
fileMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#fileMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser fileMenu)) startUp
|
-
fileOpMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#fileOpMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser fileOpMenu)) startUp
|
-
newMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#newMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser newMenu)) startUp
|
-
scmMenuSlice
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#scmMenuSlice
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser scmMenuSlice)) startUp
|
-
showMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#showMenuSpec
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser showMenuSpec)) startUp
|
-
showMenuSpecForDialog
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#showMenuSpecForDialog
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser showMenuSpecForDialog)) startUp
|
-
sortMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#sortMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser sortMenu)) startUp
|
-
toolsMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#toolsMenuSpec
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser toolsMenuSpec)) startUp
|
-
viewDetailsMenuSpec
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#viewDetailsMenuSpec
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser viewDetailsMenuSpec)) startUp
|
menu specs-scm
-
cvsMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#cvsMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser cvsMenu)) startUp
|
-
gitMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#gitMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser gitMenu)) startUp
|
-
hgMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#hgMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser hgMenu)) startUp
|
-
mercurialMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#mercurialMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser mercurialMenu)) startUp
|
-
perforceMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
MenuEditor new openOnClass:AbstractFileBrowser andSelector:#perforceMenu
(Menu new fromLiteralArrayEncoding:(AbstractFileBrowser perforceMenu)) startUp
|
misc
-
newLock
-
queries
-
isAbstract
-
queries-file
-
getBestDirectoryFrom: directories
-
from a set of directories, return the common parent directory
utilities - dump
-
contentsOfBytesAsDump: dataOrFileStream base: numberBase numberOfAddressDigits: addrDigits addressStart: virtualStart characterEncoding: characterEncodingSymbol
-
utility helper: generate a hexDump with addresses;
characterEncodingSymbol determines how characters are to be shown in the right (character) columns.
By default, this is iso8859-1, but supported are also ebcdic and ascii7,
to support display of alien encoded binary data.
-
contentsOfBytesAsHexDump: dataOrFileStream numberOfAddressDigits: addrDigits addressStart: virtualStart
-
utility helper: generate a hexDump with addresses; the character columns at the right show
the iso8859-1 characters
-
contentsOfBytesAsHexDump: dataOrFileStream numberOfAddressDigits: addrDigits addressStart: virtualStart characterEncoding: characterEncodingSymbol
-
utility helper: generate a hexDump with addresses;
characterEncodingSymbol determines how characters are to be shown in the right (character) columns.
By default, this is iso8859-1, but supported are also ebcdic and ascii7,
to support display of alien encoded binary data.
-
contentsOfFileAsDump: f base: numberBase withLimit: limitOrNil lastPart: showLastPartOrNil characterEncoding: characterEncoding
-
opens the file, get its contents and generates a dump for it
-
contentsOfFileAsHexDump: f
-
opens the file, get its contents and generates a dump for it
-
contentsOfFileAsHexDump: f withLimit: limitOrNil lastPart: showLastPartOrNil
-
opens the file, get its contents and generates a dump for it
-
contentsOfFileAsHexDump: f withLimit: limitOrNil lastPart: showLastPartOrNil characterEncoding: characterEncoding
-
opens the file, get its contents and generates a dump for it
utilities - files
-
allFilesInDirectories: directories forWhich: aBlock
-
-
fileFindDuplicatesIn: directories
-
scan directories for duplicate files.
return a dictionary mapping duplicate files to their original;
the oldest file found will be the value (original), the younger files (copies) will be the keys.
Files without duplicate(s) will not have an entry in the dictionary.
actions
-
askForCommandFor: fileName thenDo: aBlock
-
setup and launch a querybox to ask for a unix command.
Then evaluate aBlock passing the command-string as argument.
-
changeFileBrowserTitleTo: aString
-
-
copyFileList
-
copy the fileList to the clipBoard
-
copyFileListToClipBoard: fileList
-
copy the itemList to the clipBoard
-
copySelectedFilenames
-
copy the selected fileNames to the clipBoard
-
doAddArchiver
-
-
doAddTerminal
-
Modified (format): / 10-04-2019 / 05:53:35 / Claus Gittinger
-
doOpenSearchFile
-
-
doShowFileContents
-
-
doShowProperties
-
show long stat (file)-info
-
enterAction
-
-
fileEncodingDialog
-
open a dialog to allow change of the file's character encoding.
Files are converted to internal encoding when read, and converted back
to this encoding when saved.
Notice: currently, not too many encodings are supported by the system.
-
gotoFile: aFilename
-
select only if the file is not already in the selection
-
lineEndConventionDialog
-
open a dialog to allow change of the line end conventions
(when writing files)
-
newTextEditor
-
-
openApplByFileItem: anItem
-
q: is the following always wanted ?
-
openApplForFile: aFilename
-
-
openCommandResultApplication
-
-
openNewTextEditorOn: anItem
-
-
openSearchFileOn: anItem
-
-
openTextEditorForFile: aFilename
-
-
openTextEditorOn: anItem
-
-
openTextEditorOn: anItem type: aDirDescrOrFile
-
-
setCurrentFileName: aFilename
-
-
setCurrentFileNames: aCollectionOfFilenames
-
-
tabStopConversionDialog
-
open a dialog to allow change of the tab stop conversion (when reading/writing files)
-
updateAndSelect: aColOfFiles
-
-
updateCurrentDirectory
-
-
updateCurrentDirectory: withReread
-
-
updateCurrentDirectoryWithReread
-
-
withActivityIndicationDo: aBlock
-
actions bookmarks
-
addBookmark
-
-
addBookmarks: aColOfDirectories
-
-
editBookmarks
-
-
hasBookmarks
-
-
hasBookmarksToRemove
-
-
removeBookmark
-
-
saveBookmarks
-
actions history
-
addToCommandHistory: aCommandString for: aFilename
-
-
doBack
-
go backward in the history
-
doForward
-
go forward in the history
applications
-
applicationNamed: anApplicationName ifPresentDo: aBlock
-
-
directoryContentsBrowser
-
aspects
-
applications
-
-
backgroundProcesses
-
-
canMake
-
-
canOpenChangeBrowser
-
-
currentDirectories
-
returns a holder on a Collection of all currently selected directories
if only a file is selected, currentDirectories holds the directory of the file
-
currentDirectoriesValue
-
returns a Collection of all currently selected directories
if only a file is selected, currentDirectories holds the directory of the file
-
currentDirectory
-
return the single current directory or nil
-
currentDirectoryDisplayed
-
Return a directory as Filename that is currently displayed in the browser
** This method raises an error - it must be redefined in concrete classes **
-
currentFileNameHolder
-
return a ValueHolder with an OrderedCollection containing all selected files.
If no file but a directory is selected it contains the directories
in contrast to currentDirectories which have only the directories
-
defaultFileEncoding
-
#'utf-8'
-
enableDirectoryUp
-
-
enableGotoDefaultDirectory
-
-
enableGotoDesktop
-
backward compatibility
-
enableGotoDesktopDirectory
-
-
enableGotoDocumentsDirectory
-
-
enableGotoDownloadsDirectory
-
-
enableGotoSmalltalkDirectory
-
-
enableGotoSmalltalkWorkspaceDirectory
-
-
enableGotoTempDirectory
-
-
enableHome
-
-
enableMakeCurrentDirectory
-
-
enableViewNoteBookApplication
-
-
fileEncoding
-
-
fileEncoding: newEncoding
-
-
fileEncodingHolder
-
-
fileEntryFieldHolder
-
** This method raises an error - it must be redefined in concrete classes **
-
firstSelectedFileName
-
-
gotoDefaultDirectoryIsVisible
-
^ (Filename defaultDirectory asAbsoluteFilename) ~= (self smalltalkDirectory asAbsoluteFilename).
-
gotoDesktopDirectoryIsVisible
-
-
hasFileOrCypressPackageSelection
-
-
hasFileSelection
-
-
hasNotTwoDirectoriesSelectedHolder
-
-
hasNotTwoFilesSelectedHolder
-
-
hasSelection
-
aspect holding true, if a file is selected
-
hasTwoDirectoriesSelectedHolder
-
-
hasTwoFilesSelectedHolder
-
-
inputTabColumnConversion
-
-
inputTabColumnConversionHolder
-
-
lineEndConvention
-
-
lineEndConvention: aSymbol
-
-
lineEndConventionHolder
-
-
lockFileEncoding: aBoolean
-
-
lockFileEncodingHolder
-
-
makeCommandHolder
-
-
notify: aString
-
aString is shown in the lower pane
-
notifyChannel
-
-
progressPercentageHolder
-
-
rootHolder
-
holder, which keeps the rootHolder of the treeView
-
rootHolder: aHolder
-
aspects handling
-
aspectFor: something ifAbsent: aBlock
-
returns the model for an aspect; these are stored in a common dictionary
-
aspectFor: aKey ifAbsent: aBlock notPresentDo: notPresentBlock
-
returns the model for an aspect; these are stored in a common dictionary
-
aspectFor: something ifAbsentPut: aBlock
-
returns the model for an aspect; these are stored in a common dictionary
-
aspectFor: something put: aValueHolder
-
stores the model for an aspect; these are stored in a common dictionary
-
aspects
-
returns the common aspect dictionary
-
runtimeAspectValueFor: something
-
returns the default aspect item from the class variable RuntimeAspects
-
saveAspectValues
-
-
saveRuntimeAspectValues
-
-
userPreferencesAspectValueFor: something
-
returns the default aspect from the Userpreferences
aspects-filter
-
filter: aString
-
-
filterBackgroundColor
-
-
filterBlockHolder
-
-
filterListModel
-
-
filterModel
-
-
filterModel: aHolder
-
-
filterValueBox
-
-
makeFilterBlock
-
return a two-arg filterblock on the file's path- and base-name. This block should return true for files
to be shown
-
shownFiles
-
aspects-history
-
dirHistory
-
obsolete
-
directoryHistory
-
-
enableBack
-
-
enableFileHistory
-
-
enableForward
-
-
fileHistory
-
aspects-visibility
-
activityVisibilityChannel
-
activityVisibilityChannel switches the activity indicator on/off
-
alwaysUseSmalltalkTools
-
aspect to prevent os tools to be opened on double click
-
changeSetBrowserItemVisible
-
-
cvsMenusAreShown
-
-
gitMenusAreShown
-
-
hgMenusAreShown
-
-
mercurialMenusAreShown
-
-
openAlwaysInTextEditor
-
aspect for open every file in TextEditor don't use e.g. HtmlEditor for *.html'
-
openMultipleApplicationsForType
-
aspect for open more applications for e.g. TextEditor and not change the contents of already
open TextEditor
-
perforceMenusAreShown
-
-
showDirectoriesOnTop
-
-
showDirectoryTree
-
-
showDiskUsageHolder
-
-
showHiddenFiles
-
-
showHiddenFiles: aHolder
-
-
shownFiles: aHolder
-
-
svnMenusAreShown
-
-
tagsBrowserVisibleHolder
-
-
useCodeView2InTools
-
-
userContextAvailable
-
aspect for show group and user columns in contents view
windows provides no user context
-
viewDescription
-
aspect for show file description in DirectoryContentsBrowser
-
viewDetails
-
aspect for show more file properties in DirectoryContentsBrowser
-
viewDirectoryDescription
-
aspect for auto open a TextView for Readme and other see getInfoItem Method files
on change directory
-
viewDirsInContentsBrowser
-
UserPreferences current viewDirsInContentsBrowser
-
viewFilesInContentsBrowser
-
-
viewFilesInDirectoryTree
-
aspect for view files in tree view (not only directories)
-
viewGroup
-
aspect for show group information in DirectoryContentsBrowser
-
viewIcon
-
aspect for show file-type icon in DirectoryContentsBrowser
-
viewInodeNumber
-
aspect for show inode numbers in DirectoryContentsBrowser
-
viewNoteBookApplicationHolder
-
-
viewOwner
-
aspect for show owner information in DirectoryContentsBrowser
-
viewPermissions
-
aspect for show permission information in DirectoryContentsBrowser
-
viewPreview
-
aspect for show image previev in DirectoryContentsBrowser
-
viewSize
-
aspect for show size information in DirectoryContentsBrowser
-
viewSizeInBytes
-
aspect for show size-in-bytes information in DirectoryContentsBrowser
-
viewSizeInKiloBytes
-
aspect for show size-in-kilobytes information in DirectoryContentsBrowser
-
viewTime
-
aspect for show time information in DirectoryContentsBrowser
-
viewType
-
aspect for show suffix (type) information in DirectoryContentsBrowser
background processing
-
executeCommand: cmd
-
-
executeCommand: cmd inDirectory: aDirectoryOrNil
-
-
getExecutionBlockForCommand: cmd
-
-
getExecutionBlockForCommand: cmd inDirectory: directoryOrNil
-
-
killAllRunningBackgroundProcesses
-
-
makeExecutionResultProcessFor: aBlock withName: aString
-
close automatically, if there was no output.
change & update
-
currentFileNameHolderChanged
-
self currentFileNameHolderChangedForCommon
-
currentFileNameHolderChangedForCommon
-
or:[(rootInTreeView notNil and:[rootInTreeView value asFilename isRootDirectory not])]
-
filterModelChanged
-
-
update: something with: aParameter from: changedObject
-
do here all the things that have to be done for every part of the FileBrowserV2
and the things that have to be done if it runs standalone
-
updateCanMake
-
Check for make
-
updateListAfterDelete: colOfFiles
-
clipboard
-
canPaste
-
-
clipboard
-
-
copyFilesToClipBoard: colOfFiles
-
-
cutFilesToClipBoard: colOfFiles
-
defete current selected files/directories
-
emptyClipBoard
-
-
putInClipBoard: colOfFiles as: aSymbol
-
drag & drop
-
canDropFiles: dropedObjects for: filename
-
|dropFileName dropFileNameString physicalPathName|
-
canDropObject: aDropObject into: aDirectory
-
-
canDropObjects: aCollectionOfDropObjects in: aWidget
-
(comment from inherited method)
drop manager asked if a drop is possible
- should be redefined by apps which can do it, to return true
-
doStartDrag: arg1 in: arg2
-
-
dropObjects: aCollectionOfDropObjects in: aWidget at: position
-
(comment from inherited method)
drop manager wants to drop.
This is ony sent, if #canDropObjects:in: returned true.
Can be redefined in apps which return true to #canDropObjects:.
file operations
-
copyFile: aSourceFile to: aDestFile
-
copy to
-
copyFile: aSourceFile to: aDestFile repairCorruptedFiles: repairCorruptedFiles
-
copy to
-
copyFiles: aColOfSourceFiles to: aDirectory
-
-
copyFromToRepairingCorruptedFiles
-
ask for source and destination and copy the entered file.
Especially useful for raw devices to copy corrupted disks/files
-
copyOrMoveDialog: aCollectionOfFiles for: aDestinationDirectory
-
stream := WriteStream on:'' asText.
-
copyOrMoveFiles: aColOfSourceFiles to: aDestinationDirectory
-
copy or move aColOfSourceFiles to aDirectory.
Asks the used if a move or a copy is wanted.
Returns true if the copyOrMove happened, false if user aborted the operation.
-
copySelectionTo
-
copy the selected file(s) to another directory
-
copySelectionToRepairingCorruptedFiles
-
copy the selected file(s) to another directory
-
copySelectionToRepairingCorruptedFiles: repairingCorruptedFiles
-
copy the selected file(s) to another directory
-
deleteFile: aFile
-
delete the selected files/directories
-
deleteFiles: colOfFiles
-
delete some files/directories
-
deleteFiles: colOfFiles confirm: confirm
-
delete some files/directories
-
eraseFiles: colOfFiles
-
erase (clear and delete) some files/directories
-
eraseFiles: colOfFiles confirm: confirm
-
erase (clear and delete) some files/directories
-
moveFile: aSourceFile to: aDestFile
-
move a file/directory
-
moveFiles: aColOfSourceFiles to: aDirectory
-
move some files to aDirectory
-
moveSelectionTo
-
move the selected file(s) to another directory
-
newDirectory
-
ask for and create a new directory
-
newFile
-
ask for and create a new file
-
newHardLink
-
ask for and create a hard link (unix only)
-
newLink: typeOfLink
-
ask for and create a symbolic if symbolic is true otherwise a hard link (unix only)
-
newSoftLink
-
ask for and create a soft link (unix only)
-
pasteFiles
-
paste from clipBoard
-
renameFile: aFile
-
rename the selected file(s)
-
renameFile: filename to: newFileString update: aBoolean
-
rename filename to newFileString
-
renameFiles: aColOfFiles
-
rename some file(s)
-
renameSelection
-
rename the selected file(s)
menu accessing
-
bookmarksMenu
-
-
bookmarksMenuForBaseSpec: aBaseMenuSpec
-
add the bookmark items ...
-
canBackward
-
-
canForward
-
-
gotoBookmarksMenu
-
-
menuDirHistory: backOrForward
-
initialize the history menu
-
menuDirHistoryBack
-
initialize the directory menu
-
menuDirHistoryForward
-
initialize the directory menu
-
menuFileHistory
-
initialize the file history menu
-
sortMenu
-
-
viewDetailsMenuSpec
-
attn: the menuSpec format has changed.
-
viewInContentsBrowserMenu
-
-
visitedDirectoriesMenu
-
text := LabelAndIcon icon:(self class clearHistoryIcon) string:(resources string:'Clear History').
menu actions
-
doCompareTwoFiles
-
-
doGoDirectoryUp
-
navigate up to the parent folder
-
doGotoDefaultDirectory
-
navigate to the default folder (is the current directory)
-
doGotoDesktopDirectory
-
navigate to the desktop folder
-
doGotoDocumentsDirectory
-
navigate to the documents folder
-
doGotoDownloadsDirectory
-
navigate to the downloads folder
-
doGotoHomeDirectory
-
navigate to the home folder
-
doGotoSmalltalkDirectory
-
navigate to the smalltalk bin folder (where the stx executable is)
-
doGotoSmalltalkWorkspaceDirectory
-
navigate to the user's smalltalk workspace folder
-
doGotoTempDirectory
-
-
doMakeCurrentDirectory
-
no longer
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
fileGetInfo: longInfo
-
get info on selected file - show it in a box
-
showDeltaBetweenTwoImageFiles
-
-
smalltalkDirectory
-
-
tempDirectory
-
menu actions-file
-
addDirToJavaSourcePath
-
add the current path to java's sourcePath
(only available with ST/J System
-
copyFiles
-
-
cutFiles
-
-
deleteFiles
-
-
eraseFiles
-
-
fileAddToJavaSourcePath
-
add the current path to java's sourcePath
(only available with ST/J System
-
openSettingsDialog
-
-
withSelectedFilesOrDirectoriesDo: aBlock
-
menu actions-help
-
openAboutThisApplication
-
opens an about box for this application.
-
openHTMLDocument: relativeDocPath
-
menu actions-scm-cvs
-
canCvsAddAndCommit
-
-
canRemoveCVSContainer
-
-
commitFilesToCVS: files
-
-
cvsAddAndCommit
-
-
cvsAddAndCommitAsBinary: asBinary
-
mhmh - it seems that only old CVS implementations (at least turqoise)
-
cvsAddBinaryAndCommit
-
-
cvsBrowseRepositoryVersions
-
open a diff-textView showing all versions in the repository.
-
cvsCommit
-
-
cvsCommitFiles: files
-
save the log message into another tempFile ...
-
cvsCommitFolder
-
save the log message into another tempFile ...
-
cvsCompareWithNewest
-
-
cvsRemoveAndRemoveFromCVS: filesToRemove
-
remove the selected file(s) and their CVS containers - no questions asked
-
cvsRemoveFileAndCVSContainer
-
-
cvsRevisionLog
-
-
cvsTagSelection
-
-
cvsUpdateAll
-
-
cvsUpdateAllRecursive
-
-
cvsUpdateSelection
-
-
makeFileNameArgumentString
-
-
removeFilesAndCVSContainers: files
-
menu actions-scm-mercurial
-
mercurialAdd
-
flush
-
mercurialCommit
-
dir := self currentDirectory.
-
mercurialInit
-
-
mercurialPush
-
-
mercurialStatus
-
flush
menu actions-tools
-
allFilesInSelectedDirectoriesForWhich: aBlock
-
-
changeSetFromGSTSource
-
-
conversionChainFrom: inSuffix to: outSuffix
-
q&d hack to get my images converted for old html-browsers...
-
convertImageFrom: fileName to: outFile onError: exceptionBlock
-
can do it with Smalltalk tools
-
convertImageToGIF
-
-
convertImageToJPG
-
-
convertImageToPNG
-
-
convertImageToSuffix: outSuffix
-
-
convertImageToXPM
-
-
convertImageUsingExternalFileToolsFrom: fileName toSuffix: outSuffix onError: exceptionBlock
-
-
createProjectAndOpenProjectBrowser
-
-
doExecuteCommand
-
execute an OperatingSystem-command
-
doExecuteScript
-
execute a Smalltalk script
-
doMake
-
Make
-
doOpenCBrowser
-
the CBrowser is an eXept-internal C-language IDE tool.
(no longer of much interest, since we have VC and eclipse, but this was written
20 years ago ;-)
-
doOpenExplorer
-
corresponding menu item is visible on a windows machine only
-
doOpenFinder
-
corresponding menu item is visible on a mac only
-
doOpenGDBApplication
-
the GDBApplication is a cg-private debugging tool
-
doOpenMonticelloBrowser
-
-
doOpenSettings
-
-
doOpenWithShellCommand
-
open using win32-shell
-
editMode: aSymbol
-
-
editModeInsert
-
-
editModeInsertAndSelect
-
-
editModeOverwrite
-
-
fetchFileByURL
-
-
fileContentsAsByteArray
-
-
fileFileIn
-
fileIn the selected file(s)
-
fileFileIn: aFilename lazy: lazy
-
fileIn a file
-
fileFileInLazy
-
fileIn the selected file(s). Do a quick load (no compilation)
-
fileFileInLazy: lazy
-
fileIn the selected file(s)
-
fileFileInPackage
-
assuming the current directory is a package directory, load it
-
fileFileInToNameSpace
-
fileIn the selected file(s)<into a nameSpace
-
fileFindAllDuplicates
-
scan directory and all subdirs for duplicate files
-
fileFindDuplicateFile
-
scan directory for duplicates of the selected files
-
fileFindDuplicates
-
scan directory for duplicate files
-
fileFindFile
-
-
fileFindSimilarImages
-
scan directory for similar image files
-
fileHexDump
-
Modified (format): / 12-11-2017 / 11:19:56 / cg
-
fileIn: aFilename
-
fileIn a file
-
fileIn: aFilename lazy: lazy
-
fileIn a file
-
filterSelectedFiles: whichFilter
-
add more here...
-
forEachParsedXmlFileDo: aBlock
-
parse all selected XML files, for each dom-tree, evaluate aBlock
-
forEachSelectedFileIgnoringDirectories: ignoreDirs do: aBlock
-
-
generateDetachedSignaturesForSelectedFiles
-
generate detached signature (pkcs7) files from the contents of the selected files.
For Smalltalk text files, better use #generateSignaturesForSelectedFiles.
-
generatePatchInstallerForSelectedFiles
-
generate an expecco patch, which installs the selected file(s).
Opens a dialog asking for the target directory and if the patch should be signed
-
generateSignaturesForSelectedFiles
-
generate signed pkcs7 files from the contents of the selected files.
These can be delivered as expeccoPatch files
-
inspectXmlFile
-
Show an XML file - either in an XMLInspector or fall back to
a plain inspector on the XML tree
-
installAllAsAutoloaded
-
install all classes found here as autoloaded classes
-
installAllAsAutoloadedRecursive
-
install all classes found here and in subdirectories as autoloaded classes
-
installAllAsAutoloadedRecursive: aBoolean
-
install all classes found here (and in subdirs if aBoolean is true) as autoloaded classes
-
installAsAutoloaded: aFilename
-
install aFilename as autoloaded class
-
joinSelectedFiles
-
-
loadImageThenDo: aBlock
-
-
loadSignatureSupport
-
-
openASN1Browser
-
-
openAppletViewer
-
Java markAllClassesUninitialized.
-
openCBrowser
-
-
openChangeSetBrowser
-
open a changeSet browser on the selected file(s)
-
openChangesBrowser
-
open a change browser on the selected file(s)
-
openDiffView
-
open a diff-view on the two selected files
-
openDiffViewOn: fileArg1 and: fileArg2
-
open a diff-view on two files
-
openDirectoryDiffView
-
open a directory diff-view
-
openEditor
-
-
openGV
-
-
openHTMLReader
-
-
openImageEditor
-
-
openImageInspector
-
-
openImagePreview
-
-
openMP3Player
-
-
openOSCommandWithFiles: command
-
-
openPDFViewer
-
-
openResourceFileEditor
-
-
openSlideShow
-
-
openSnapshotImageBrowser
-
Sorry, for now, only the old browser can handle snapShotImages.
-
openTerminal
-
-
openTool: aToolClass
-
open a tool on the selected file(s)
-
openTool: aToolClass ignoreDirectories: ignoreDirs
-
open a tool on the selected file(s)
-
openTool: aToolClass with: aSelector
-
open a tool on the selected file(s)
-
openTool: aToolClass with: aSelector ignoreDirectories: ignoreDirs
-
open a tool on the selected file(s)
-
openVideoPlayer
-
-
openWebBrowser
-
-
openWorkspace
-
-
openXV
-
-
openZipTool
-
-
readAbbrevFile
-
read the abbrev file and install classes found there as autoloaded classes
-
readAndShowResources
-
-
removeBakAndSavFiles
-
remove all .sav and .bak files (after confirmation)
-
singleFileFileIn: fileName lazy: lazy
-
fileIn the selected file(s)
-
splitFile: infile intoPiecesOfSize: kiloBytes
-
-
splitFile: infile intoPiecesWithNumberOfLines: numberOfLines
-
-
splitSelectedFiles
-
-
splitSelectedFilesByLines
-
-
truncateSelectedFilesToZeroSize
-
menu queries-tools
-
anySTFilesPresent
-
-
canCreateNewProject
-
-
canDoTerminal
-
-
canDoTerminalAndSystemIsDOS
-
-
canDoTerminalAndSystemIsUnix
-
-
canGenerateSignatureFiles
-
we need the both the KeyFileGenerator (for the secret expecco key) and the KeyFile
-
canOpenMonticelloBrowser
-
-
canReadAbbrevFile
-
-
canRemoveFromSourcePath
-
-
cannotGenerateSignatureFiles
-
-
hasASN1
-
-
hasASN1AndSelection
-
-
hasCBrowser
-
-
hasJava
-
-
hasJavaAndSelection
-
-
hasMP3Player
-
-
hasMP3PlayerAndSelection
-
-
hasResourceFileSelected
-
-
hasSlideShow
-
-
hasSnapshotSelection
-
-
hasXml
-
-
hasXmlFileSelected
-
cg - no longer use this to enable XML-inspector (always enabled).
-
hasZipFileSelected
-
prepare for change (iana has obsoleted the x- types)
-
hasZipFileSelectedHolder
-
-
javaSupportLoaded
-
presentation
-
getModeString: modeBits
-
convert file-mode bits into a more user-friendly string.
This is wrong here - should be moved into OperatingSystem.
-
getModeString: modeBits with: texts
-
convert file-mode bits into a more user-friendly string.
This is wrong here - should be moved into OperatingSystem.
private
-
theSingleSelectedDirectoryOrHomeDir
-
-
theSingleSelectedDirectoryOrNil
-
-
theSingleSelectedFileOrNil
-
-
theSingleSelectedItemOrNil
-
queries
-
cBrowserLoaded
-
-
cBrowserMenuItemVisible
-
-
getAllFilesAsStrings
-
raise an error: must be redefined in concrete subclass(es)
** This method raises an error - it must be redefined in concrete classes **
-
getFileInfoStringForFirstSelectedFile: longInfo
-
get stat info on selected file - return a string which can be
shown in a box
-
hasImageColorHistogram
-
-
hasImageHistogram
-
-
hasSubversionSupport
-
-
initialCommandFor: fileName into: aBox
-
set a useful initial command for execute box.
-
isAbstractFileBrowser
-
-
stxgdbLoaded
-
-
stxgdbMenuItemVisible
-
-
systemIsDOS
-
-
systemIsOSX
-
-
systemIsUnix
-
-
systemSupportsVolumes
-
queries-file
-
allItemsOfCurrentDirectory
-
-
anyFilesPresentWithSuffix: suffix
-
-
commonPrefixOfSelectedFiles
-
-
compressTabsOnSave
-
if true, compress leading spaces (multiples of 8) with a tab character
when saving.
Default is true
-
currentFilesAreInSameDirectory
-
-
currentFilesHasDirectories
-
-
directoriesForFiles: aFileCol
-
-
fileListIsEmpty
-
-
fileListIsNotEmpty
-
-
fileName: aFilename1 startsWith: aFilename2
-
check if aFilename2 is a prefix of aFilename1
-
getAllFilesAsStringCollection
-
-
getBestDirectory
-
from a set of directories, return the common parent directory
-
getDirWithoutFileName: aFileName
-
-
getInfoItem
-
get filename of a description-file (.dir.info, README etc.);
This file is automatically shown when a directory is entered.
You can add more names below if you like.
-
hasPackageDirectorySelected
-
-
parentDirectoriesOfCurrentFiles
-
-
recursiveAnyFilesPresentWithSuffix: suffix
-
the code below is too slow for a menu enabling operation
-
recursiveAnySTFilesPresent
-
selection
-
currentSelectedDirectories
-
-
currentSelectedFiles
-
-
currentSelectedObjects
-
-
firstSelectedFile
-
-
hasOnlyDirectoriesSelected
-
-
hasOnlyFilesSelected
-
-
hasTwoDirectoriesSelected
-
-
hasTwoFilesSelected
-
-
selectFiles: aCollectionOfFiles
-
** This method raises an error - it must be redefined in concrete classes **
-
selectNextFile
-
-
selectPreviousFile
-
-
selectedItems
-
** This method raises an error - it must be redefined in concrete classes **
sorting
-
currentSortOrder
-
-
sortBlockHolder
-
-
sortBlockProperty
-
-
sortCaseless
-
aspect for sort caseless
-
sortDirectoriesBeforeFiles
-
aspect for sort directories always before files
-
sortFileListsBy: instanceName
-
-
sortFileListsBy: instanceName withReverse: aBoolean
-
sort caseless changed
startup & release
-
initializeAspects
-
-
makeDependent
-
-
masterApplication: anApplication
-
self makeDependent.
-
postBuildWith: aBuilder
-
Clipboard
CodeExecutionLock
DirectoryHistory
SaveAspectItem
|