System-FileRegistry

FileModifyingSimpleServiceEntry
I represent a service that may change the contents of a directory.
Such changes include:
* file creation
* file deletion
* file modification
performServiceFor:
carry out the service I provide
FileServices
A FileServices is xxxxxxxxx.
Instance Variables
allRegisteredServices
initialize
Subclasses should redefine this method to perform initializations on instance creation
isReaderNamedRegistered:
itemsForDirectory:
itemsForFile:
registerFileReader:
registeredFileReaderClasses
removeObsolete
unregisterFileReader:
SimpleServiceEntry
I represent a service
provider : the service provider
label : to be display in a menu
selector : to do the service
useLineAfter
stateSelector : a secondary selector (to be able to query state of the provider for example)
description : a description for balloon for example
argumentGetter : a selector to get additional arguments with (if selector requres them)
buttonLabel : a short label
The entire client interface (provided by FileList and other users of the registry)
is this (browse #getArgumentsFrom: and the
senders of #argumentGetter:):
fullName (returns a String with the full filename)
dirAndFileName (returns {directory. fileName})
readOnlyStream (returns an open read-only stream)
addServiceFor:toMenu:
argumentGetter:
buildWith:in:
Answer a button spec that will trigger the receiver service in aModel
buttonLabel
Answer the label to be emblazoned on a button representing the service in a file list, for example
buttonLabel:
Set the receiver's buttonLabel, to be used on a button in a
tool-pane; this is split out so that a more abbreviated wording
can be deployed if desired
buttonToTriggerIn:
Answer a button that will trigger the receiver service in a file list
description
may be used for balloon or other
description:
may be used for balloon or other
extraSelector
normally should not be used directly
extraSelector:
getArgumentsFrom:
label
performExtraFor:
carry out the extra service I provide
performServiceFor:
carry out the service I provide
printOn:
Append to the argument, aStream, a sequence of characters that
identifies the receiver.
provider
provider:label:selector:
basic initialization message
provider:label:selector:description:
basic initialization message
provider:label:selector:description:buttonLabel:
requestExtraSelector
send me this message to ask me to perform secondary service
selector
normally should not be used directly
useLineAfter
useLineAfter: