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
Author:
exept MBP

Description:


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:]


Related information:



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
does the subapp want separate new app tabs,
or reuse any already open isntance of it?

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  archiveIsReadOnly

o  archiveIsReadOnly: aBoolean

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

o  archiver: anArchiverOrNil
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
setup to show the contents of anItem;
return true if successful

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  extractSelectedFileIntoTempDirThenDo: aBlockCalledWithItem

o  findInName

o  inspectDLL

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
returns the user's chosen target directory (filename)

o  extractSelectedFilesTo: aDirectory askForExtractOptions: askForExtractOptionsBoolean

o  extractSelectedFilesTo: aDirectory withSelection: selectOrAll
returns the user's chosen target directory (filename)

o  extractSelectedFilesTo: aDirectory withSelection: selectOrAll askForExtractOptions: askForExtractOptionsBoolean
returns the user's chosen target directory (filename)

commands extract private
o  extractAllTo: aDirectory

o  extractSelection

o  extractSelectionTo: aDirectory askForExtractOptions: askForExtractOptionsBoolean
cg: removed the confusing assignment;

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

queries
o  canDelete

o  canInspectDLL

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

Examples:


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


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 14:55:22 GMT