Home

Tools API

Creators

Open Tools API

Introduction
Services
Wizards
Messages
Notifiers
Creators
Editors
Debugger
Examples
Custom Forms

Home

Creators are classes that you define and implement IOTACreator and one of its derived interfaces. Delphi calls upon your creator objects to create new files and proejcts.
IOTAFile
To supply the source code for a new file, you must define a class that implements IOTAFile. Your creator creates an instance of your class and returns that object from the appropriate method.
IOTACreator
Base interface for all creators. If you want to use a default creator, e.g., for a default form or project, return an appropriate string as CreatorType. To create a custom object, return an empty string.
IOTAModuleCreator
Create a unit, form, or other file. You can create a default unit, form, or text file by returning sUnit, sForm, or sText as the CreatorType and nil for the source file, form file, etc. Unlike the old-style module creator, do not return empty strings as defaults for the file name, etc. You must return the full information for the module. The form definition is returned as an IOTAFile for a DFM file, including the DFM file signature.
IOTAProjectCreator
Create a new package, library, or application. You can create a default package, library, or application by returning sPackage, sLibrary, or sApplication as the CreatorType and nil for the new project source.

Copyright © 1998 Tempest Software, Inc. All rights reserved.