Chapter 3 Using the PowerDesigner Interface


Declaring a user-defined add-in

You can create user-defined XML or ActiveX add-ins. For more information about the add-in creation procedure, see "ActiveX add-in" and "XML file add-in" in the "Accessing objects using VBScript" chapter.

When you create an add-in you must declare it and enable it in the Add-ins page of the General Options dialog box otherwise it will not be available in the program.

Steps To declare a user-defined add-in:

  1. Select Tools→General Options to display the General Options dialog box. By default, the General category is selected.
  2. Select Add-ins in the Category tree view to display the Add-ins page.
  3. Click the Add a new XML add-in tool.

    or

    Click the Add a new ActiveX add-in tool.

    A new add-in appears in the list.
  4. Type the name of your add-in in the Name box.
  5. Select the XML file corresponding to the XML add-in or select a DLL or an EXE file corresponding to the ActiveX file. You can also use the browse tool to select a file.
  6. (ActiveX only) Type the name of the ActiveX implementation class in the Class box.
  7. Click OK.

 


Copyright (C) 2005. Sybase Inc. All rights reserved.