OTA - Repository Wizards

Wizards are simply hooks you inject into the IDE. You supply information to allow the IDE to show either an object in the Object Repository, Menu Item in the Help menu or create an Add-in feature to the IDE. When the user selects the the Wizard it calls the Execute method to allow you to do your task.

  Wizards can be used to create a new Unit, Form, Library, Form descendant, add a Menu Item to the Delphi menu system, or incorporate interesting new enhancements to the IDE.


Repository Wizards

  The Object Repository is simply a centralized point for the IDE to collect Wizards. All the items in the Repository are Wizards. When the user double clicks one one of the Wizards the appropriate action is executed, be it creating a new Application, Library, Package or adding a Unit, or Form to the current project.

Object Repository

  Creating a Repository Wizard consists of the following steps:

  • Creating the Repository Wizard Unit

  • Registering the Wizard with Delphi

  • Creating the Wizard Package (or adding the Wizard unit to an existing package)

  • Installing or Removing the Packages from the IDE

 

  Back to OpenTools API page.

 


mustangpeak.net

  Last Modified on: