eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'FileApplicationNoteBook::ArchiveViewApplication':

Home

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

Class: ArchiveViewApplication (private in FileApplicationNoteBook

This class is only visible from within FileApplicationNoteBook.

Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--AbstractFileApplicationNoteBookComponent
            |
            +--FileApplicationNoteBook::ArchiveViewApplication

Package:
stx:libtool
Category:
Interface-Tools-File
Owner:
FileApplicationNoteBook

Class protocol:

defaults
o  tabStringFor: aApplicationType
the formatString shown in a tab (language translated)

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

image specs
o  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

o  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

o  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
o  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
o  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

o  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
o  canOpenItem: anItem
"avoid autoloading the archiver if it's definitely not an archive"

o  wantNewApplicationAnyway

tableColumns specs
o  tableColumns
This resource specification was automatically generated
by the DataSetBuilder of ST/X.

usage example(s):

     DataSetBuilder new openOnClass:FileApplicationNoteBook::ArchiveViewApplication andSelector:#tableColumns


Instance protocol:

accessing
o  archiver
return the value of the instance variable 'archiver' (automatically generated)

o  archiver: something
set the value of the instance variable 'archiver' (automatically generated)

o  columnDescriptors
return the value of the instance variable 'columnDescriptors' (automatically generated)

o  columnDescriptors: aListOfColumns
set the value of the instance variable 'columnDescriptors' (automatically generated)

o  item: anItem

o  selection

o  temporaryDirectory
return the value of the instance variable 'temporaryDirectory' (automatically generated)

actions
o  changeItem: anItem

o  clearFileList

o  copyFilesToClipboard
copy the names of the selected files to the clipboard

o  dblClick

o  doStopProcess
Modified (format): / 29-11-2011 / 18:57:50 / cg

o  findInName

o  removeErrorOutput

o  removeTemporaryDirectory

o  selectAll
sel := OrderedCollection new.

o  updateFileBrowserIfPresentWith: aDirectory

o  viewFile

aspects
o  archiveFileList

o  enableRemoveErrorOutput
return/create the 'enableRemoveErrorOutput' value holder (automatically generated)

o  enableStopButton

o  errorListHolder

o  errorListVisibilityHolder

o  hasSelectionInList

o  selectionHolder

o  selectionIndexHolder

o  tableColumns

o  viewErrorList
return/create the 'viewErrorList' value holder (automatically generated)

change & update
o  update: something with: aParameter from: changedObject
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:

o  viewErrorListChanged

command execution
o  getErrorBlock

o  getErrorStream

o  getOutBlock

o  getOutStream

o  makeProcessFor: aBlock

o  makeProcessFor: aBlock with: string

o  setColumnsForArchiver

o  stopProcess

command helper
o  selectDirectoryDialog

o  selectDirectoryDialog: message
(fn exists and:[fn isDirectory]) ifTrue:[

commands add
o  addFilesToArchive: colOfFiles
self

usage example(s):

self archiver addFilesToArchive:colOfFiles.

commands extract
o  extractAll

o  extractSelectedFilesTo: aDirectory askForExtractOptions: askForExtractOptionsBoolean

o  extractSelectedFilesTo: aDirectory withSelection: selectOrAll

o  extractSelectedFilesTo: aDirectory withSelection: selectOrAll askForExtractOptions: askForExtractOptionsBoolean
self updateFileBrowserIfPresentWith:dir.

commands extract private
o  extractAllTo: aDirectory

o  extractSelection

o  extractSelectionTo: aDirectory askForExtractOptions: askForExtractOptionsBoolean
Modified (format): / 29-11-2011 / 18:57:54 / cg

o  extractWithDirectoryPartTo: aDirectory with: extractFiles
Modified (format): / 29-11-2011 / 18:57:58 / cg

o  extractWithOutDirectoryPartTo: aDirectory with: extractFiles
Modified (format): / 29-11-2011 / 18:58:01 / cg

commands list
o  listAllFiles

o  listFiles: aColOfFilesOrNil

commands remove
o  removeFilesFromArchive
realSel := OrderedCollection new.

drag & drop
o  canDrop: aContext

o  doDrop: aContext

o  doStartDrag: aDropSource in: aView
set the cursors before starting the drag & drop operation

o  dropEnter: aContext
Modified (format): / 15-11-2017 / 11:10:07 / cg

o  dropLeave: aContext

o  getDisplayObjects: anArgument
retrieve the objects displayed during a drag

o  getDropObjects: anArgument
common code, used in subclasses

event handling
o  processEvent: anEvent
filter keyboard events.
Return true, if I have eaten the event

initialization & release
o  postBuildFileTable: aWidget
FileBrowser icons keysAndValuesDo:[:aKey :anIcon|

o  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.

o  release

menus
o  fileListMenu

queries
o  canDelete

o  canViewFile

o  hasListEntriesHolder
return/create the 'hasListEntriesHolder' value holder (automatically generated)

o  hasOneSelectionInList

o  selRemoveFilesForDirs: aSel

sorting
o  generateSortBlock: instanceName
same column like before - change sort order

o  sortList: instanceName


Private classes:

    ArchivItem


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 07 Oct 2022 16:46:54 GMT