Chapter 5 Defining Components


Installing components

Your component must be installed in a package before it can be run by applications. Components that have the same name but are installed in different packages are different components; modifying or deleting one does not effect the other.

Create and install a new component

Steps You can create a new component and install it to a package as follows:

  1. Double-click the Packages folder to expand it, or if the package is installed in a server, expand the server's Installed Packages folder.

  2. Highlight the package to which the component will be added.

  3. Select File | Install Component from the menu.

  4. In the Component Wizard dialog box, select Define New Component, and click Next.

  5. Enter the component name in the Enter New Component Name dialog box, and click Finish.

    The Component Properties window displays.

  6. Configure the settings as described in "Configuring component properties".


The new component appears in the package's list of installed components, and the Component Properties window displays.

Rename or copy/paste a component

To rename a component, highlight the component and choose Rename, then enter the new name.

Use copy/paste to copy a component's definition to another package.

Steps Copy/paste as follows:

  1. Highlight the icon for the component to be copied.

  2. Choose File | Copy Component.

  3. Highlight the icon for the package to which you want to copy the component.

  4. Choose File | Paste Component.

Jaguar Manager installs a copy of the component's definition into the specified package. You can modify the new component's properties without affecting the original. However, the copied and original definitions refer to the same IDL interfaces and implementation files.


Steps Follow the steps below to delete a component:

  1. Expand the Jaguar package that contains the component.

  2. Highlight the component you want to delete.

  3. Select File | Remove Component from the menu.


When you delete a component, Jaguar Manager does not delete the IDL interfaces and types that were used by the component. If you are sure that the component's interface and types are not used by any other component, you can delete unused types as described in "Editing IDL types, exceptions, and interfaces".

 


Copyright © 2000 Sybase, Inc. All rights reserved.