ArchiveViewer

ArchiveViewer
This is a viewer window that allows editing and viewing of Zip archives.
addDirectory
addFileToNewZip:
addMember
addMemberFromClipboard
archive
archive:
briefContents
Trim to 5000 characters. If the member is longer, then point out that it is trimmed.
Also warn if the member has a corrupt CRC-32.
buildWindowMenu
Build and answer the window menu.
buttonColor
buttonOffColor
buttonOnColor
canAddMember
canCreateNewArchive
canDeleteMember
canExtractAll
canExtractMember
canOpenNewArchive
canRenameMember
canSaveArchive
canViewAllContents
changeViewAllContents
commentArchive
commentMember
contents
contents:
createButtonBar
createListHeadingUsingFont:
createNewArchive
createWindow
deleteMember
deleteTemporaryDirectory
descriptionForPartsBin
directory
For compatibility with file list.
displayLineFor:
extractAll
extractAllFrom:
extractAllPossibleInDirectory:
Answer true if I can extract all the files in the given directory safely.
Inform the user as to problems.
extractDirectoriesIntoDirectory:
extractFilesIntoDirectory:
extractMember
Extract the member after prompting for a filename.
Answer the filename, or nil if error.
fileName
fileName:
fileReaderServicesForFile:suffix:
fullName
For compatibility with FileList services.
If this is called, it means that a service that requires a real filename has been requested.
So extract the selected member to a temporary file and return that name.
highlightMemberList:with:
initialize
Initialize a system window. Add label, stripes, etc., if desired
initializeToStandAlone
Set up the receiver, created by a #basicNew and now ready to be initialized, as a fully-formed morph suitable for providing a graphic for a parts bin surrogate, and, when such a parts-bin surrogate is clicked on, for attaching to the hand as a viable stand-alone morph. Because of historical precedent, #initialize has been expected to handle this burden, though a great number of morphs actually cannot stand alone. In any case, by default we call the historical #initialize, though unhappily, so that all existing morphs will work no worse than before when using this protocol.
inspectMember
memberIndex
memberIndex:
memberList
memberMenu:shifted:
members
open
openNewArchive
openOn:
perform:orSendTo:
If I wish to intercept and handle selector myself, do it; else send it to otherTarget
readOnlyStream
Answer a read-only stream on the selected member.
For the various stream-reading services.
renameMember
saveArchive
selectedMember
serviceAddToNewZip
serviceExtractAll
serviceOpenInZipViewer
services
shutDown:
stream:
temporaryDirectory
unload
windowIsClosing
This message is used to inform a models that its window is closing. Most models do nothing, but some, such as the Debugger, must do some cleanup. Note that this mechanism must be used with care by models that support multiple views, since one view may be closed while others left open.
writePrependingFile