|
Class: ArchiveViewApplication (private in FileApplicationNoteBook
This class is only visible from within
FileApplicationNoteBook.
Object
|
+--Model
|
+--ApplicationModel
|
+--AbstractFileApplicationNoteBookComponent
|
+--FileApplicationNoteBook::ArchiveViewApplication
- Package:
- stx:libtool
- Category:
- Interface-Tools-File
- Owner:
- FileApplicationNoteBook
- Author:
- exept MBP
documentation to be added.
class:
<a short class summary here, describing what instances represent>
responsibilities:
<describing what my main role is>
collaborators:
<describing with whom and how I talk to>
API:
<public api and main messages>
example:
<a one-line examples on how to use - can also be in a separate example method>
implementation:
<implementation points>
[instance variables:]
[class variables:]
defaults
-
tabStringFor: aApplicationType
-
the formatString shown in a tab (language translated)
help specs
-
helpSpec
-
This resource specification was automatically generated
by the UIHelpTool of ST/X.
image specs
-
extract28x28Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self extract28x28Icon inspect
ImageEditor openOnClass:self andSelector:#extract28x28Icon
Icon flushCachedIcons
|
-
removeBug28x28Icon
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self removeBug28x28Icon inspect
ImageEditor openOnClass:self andSelector:#removeBug28x28Icon
Icon flushCachedIcons
|
-
removeError
-
This resource specification was automatically generated
by the ImageEditor of ST/X.
Usage example(s):
self removeError inspect
ImageEditor openOnClass:self andSelector:#removeError
Icon flushCachedIcons
|
interface specs
-
windowSpec
-
This resource specification was automatically generated
by the UIPainter of ST/X.
Usage example(s):
UIPainter new openOnClass:FileApplicationNoteBook::ArchiveViewApplication andSelector:#windowSpec
FileApplicationNoteBook::ArchiveViewApplication new openInterface:#windowSpec
FileApplicationNoteBook::ArchiveViewApplication open
|
menu specs
-
fileListMenu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:FileApplicationNoteBook::ArchiveViewApplication andSelector:#fileListMenu
(Menu new fromLiteralArrayEncoding:(FileApplicationNoteBook::ArchiveViewApplication fileListMenu)) startUp
|
-
menu
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
Usage example(s):
MenuEditor new openOnClass:FileApplicationNoteBook::ArchiveViewApplication andSelector:#menu
(Menu new fromLiteralArrayEncoding:(FileApplicationNoteBook::ArchiveViewApplication menu)) startUp
|
queries
-
canOpenItem: anItem
-
"avoid autoloading the archiver if it's definitely not an archive"
-
wantNewApplicationAnyway
-
does the subapp want separate new app tabs,
or reuse any already open isntance of it?
tableColumns specs
-
tableColumns
-
This resource specification was automatically generated
by the DataSetBuilder of ST/X.
Usage example(s):
DataSetBuilder new openOnClass:FileApplicationNoteBook::ArchiveViewApplication andSelector:#tableColumns
|
accessing
-
archiveIsReadOnly
-
-
archiveIsReadOnly: aBoolean
-
-
archiver
-
return the value of the instance variable 'archiver' (automatically generated)
-
archiver: anArchiverOrNil
-
set the value of the instance variable 'archiver' (automatically generated)
-
columnDescriptors
-
return the value of the instance variable 'columnDescriptors' (automatically generated)
-
columnDescriptors: aListOfColumns
-
set the value of the instance variable 'columnDescriptors' (automatically generated)
-
item: anItem
-
setup to show the contents of anItem;
return true if successful
-
selection
-
-
temporaryDirectory
-
return the value of the instance variable 'temporaryDirectory' (automatically generated)
actions
-
changeItem: anItem
-
-
clearFileList
-
-
copyFilesToClipboard
-
copy the names of the selected files to the clipboard
-
dblClick
-
-
doStopProcess
-
Modified (format): / 29-11-2011 / 18:57:50 / cg
-
extractSelectedFileIntoTempDirThenDo: aBlockCalledWithItem
-
-
findInName
-
-
inspectDLL
-
-
removeErrorOutput
-
-
removeTemporaryDirectory
-
-
selectAll
-
sel := OrderedCollection new.
-
updateFileBrowserIfPresentWith: aDirectory
-
-
viewFile
-
aspects
-
archiveFileList
-
-
enableRemoveErrorOutput
-
return/create the 'enableRemoveErrorOutput' value holder (automatically generated)
-
enableStopButton
-
-
errorListHolder
-
-
errorListVisibilityHolder
-
-
hasSelectionInList
-
-
selectionHolder
-
-
selectionIndexHolder
-
-
tableColumns
-
-
viewErrorList
-
return/create the 'viewErrorList' value holder (automatically generated)
change & update
-
update: something with: aParameter from: changedObject
-
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:
-
viewErrorListChanged
-
command execution
-
getErrorBlock
-
-
getErrorStream
-
-
getOutBlock
-
-
getOutStream
-
-
makeProcessFor: aBlock
-
-
makeProcessFor: aBlock with: string
-
-
setColumnsForArchiver
-
-
stopProcess
-
command helper
-
selectDirectoryDialog
-
-
selectDirectoryDialog: message
-
(fn exists and:[fn isDirectory]) ifTrue:[
commands add
-
addFilesToArchive: colOfFiles
-
self
Usage example(s):
self archiver addFilesToArchive:colOfFiles.
|
commands extract
-
extractAll
-
returns the user's chosen target directory (filename)
-
extractSelectedFilesTo: aDirectory askForExtractOptions: askForExtractOptionsBoolean
-
-
extractSelectedFilesTo: aDirectory withSelection: selectOrAll
-
returns the user's chosen target directory (filename)
-
extractSelectedFilesTo: aDirectory withSelection: selectOrAll askForExtractOptions: askForExtractOptionsBoolean
-
returns the user's chosen target directory (filename)
commands extract private
-
extractAllTo: aDirectory
-
-
extractSelection
-
-
extractSelectionTo: aDirectory askForExtractOptions: askForExtractOptionsBoolean
-
cg: removed the confusing assignment;
-
extractWithDirectoryPartTo: aDirectory with: extractFiles
-
Modified (format): / 29-11-2011 / 18:57:58 / cg
-
extractWithOutDirectoryPartTo: aDirectory with: extractFiles
-
Modified (format): / 29-11-2011 / 18:58:01 / cg
commands list
-
listAllFiles
-
-
listFiles: aColOfFilesOrNil
-
commands remove
-
removeFilesFromArchive
-
realSel := OrderedCollection new.
drag & drop
-
canDrop: aContext
-
-
doDrop: aContext
-
-
doStartDrag: aDropSource in: aView
-
set the cursors before starting the drag & drop operation
-
dropEnter: aContext
-
Modified (format): / 15-11-2017 / 11:10:07 / cg
-
dropLeave: aContext
-
-
getDisplayObjects: anArgument
-
retrieve the objects displayed during a drag
-
getDropObjects: anArgument
-
common code, used in subclasses
event handling
-
processEvent: anEvent
-
filter keyboard events.
Return true, if I have eaten the event
initialization & release
-
postBuildFileTable: aWidget
-
FileBrowser icons keysAndValuesDo:[:aKey :anIcon|
-
postOpenWith: aBuilder
-
(comment from inherited method)
this is sent after the application's main window is opened.
Can be redefined in subclasses for actions after opening the view.
-
release
-
(comment from inherited method)
remove all references to objects that may refer to self.
Subclasses may redefine this method but should do a 'super release'.
menus
-
fileListMenu
-
queries
-
canDelete
-
-
canInspectDLL
-
-
canViewFile
-
-
hasListEntriesHolder
-
return/create the 'hasListEntriesHolder' value holder (automatically generated)
-
hasOneSelectionInList
-
-
selRemoveFilesForDirs: aSel
-
sorting
-
generateSortBlock: instanceName
-
same column like before - change sort order
-
sortList: instanceName
-
ArchivItem
Notice that everything between [exBegin] and [exEnd] is extracted by the html-doc generator
to create nicely formatted and clickable executable examples in the generated html-doc.
(see the browser's class-documentation menu items for more)
opening the application:
FileApplicationNoteBook::ArchiveViewApplication open
|
opening the application on some model:
FileApplicationNoteBook::ArchiveViewApplication openOn:aModel
|
|