The IDLitTool::RegisterFileWriter procedure method registers a file writer component with the iTool. Once registered, the iTool has the ability to instantiate this type of component when needed.
When a writer class is registered with the system, an object descriptor for this operation class is placed in the iTool's file writer folder. To retrieve this descriptor at a later time, the iTool relative identifier would be
FILE WRITERS/identifier, where
identifier is the identifier provided to this method.
Obj->[IDLitTool::]RegisterFileWriter, Name, ClassName [, /DEFAULT] [, DESCRIPTION=string] [, ICON=string] [, IDENTIFIER=string] [, PROXY=string]
A string containing the human readable name of the component type being registered with the iTool.
A string containing the class name of the component being registered. The iTool object uses this class name to instantiate a component of this type when requested by the system.
Set this keyword to specify that the file writer being registered should be the default file writer. When the iTool system picks a writer for a file of the specified type, it will attempt to use the specified file writer first. The file writer will also be displayed at the top of the list of file writers displayed for the user to select from.
Set this keyword to a string that provides a brief description of the component being registered.
Set this keyword to the icon that should be used when displaying the file writer in an iTool browser. See System Resources for additional details.
Set this keyword to the identifier that should be used by the system for this visualization type. If not provided, an identifier is constructed from the provided Name value.
While some items registered with an iTool can contain sub-folders that are specified by identifiers, the file writer registration cannot. As such, any nested identifiers that are registered are not visible to the iTool system.
Set this keyword to the identifier of the object that this registered item should utilize instead of providing a new object descriptor. If a proxy is registered, all requests and actions performed on this item are routed to the item specified by the identifier provided for this keyword. (See iTool Object Identifiers for a discussion of object descriptors.)
DEFAULT keyword added: 6.1