Selecting Classes and Features

When you have selected the classes for inclusion in the exported package working set and clicked the Next > button, the Select Classes and Features for Package sheet of the Export Package Definition Wizard is then displayed, as shown in the following image.

Use this sheet to select the public or read-only properties, methods, and constants associated with working set classes that you want to include in the exported package. (You cannot export protected properties and methods.)

Classes included in the working set are shown alphabetically in the Available Classes and Features list box. You can expand all class nodes to show all of their features or collapse them to show only the class name itself. An expanded node is displayed with a minus sign (-) and a collapsed node that has features displays a plus sign (+). A node that has no features has no sign.

The features of your selected working set classes available for selection are displayed in the Available Classes and Features list box at the left of the sheet. The icons at the left of features display a P, M, or C, indicating properties, methods, or constants, respectively. (You cannot export protected properties and methods.)

To include a feature in your exported package, perform one of the following actions

You can select a feature once only. An attempt to select a feature that is already included in the working set has no effect.

The selected features and associated classes are automatically copied to the Selected Classes and Features list box and are displayed in green in the Available Classes and Features list box. Your selected features are displayed in the Selected Classes and Features list box class in the class in which they are defined. Your selections are not finalized until you click the Next > button. Before you click the Next > button, you can reverse any of your selections by removing them from the Selected Classes and Features list box.

To remove features from a class in the working set, perform one of the following actions

If the selected feature or features do not have references, they are then automatically moved from the Selected Classes and Features list box to the Available Classes and Features list box.

If the selected feature or features have references, the Confirm Delete message box is then displayed, prompting you to click the Yes button to confirm that you do want to remove the feature or features from inclusion in the exported package. (This also occurs when you click the Remove all features button and one or more features has references.) Click the Cancel button to cancel the removal of the selected feature and all other selected features, if applicable.

To trigger a message box, the package must already exist (that is, you are changing an existing package) and it must be imported by another schema that references the feature. (Being referenced in the exported schema does not trigger a warning when removing a feature from the list of exported features.)

Click the Next > button when you have selected all features that you require in the exported package working set. Alternatively, click the < Back button to redisplay the Create a Working Set of Classes sheet or the Cancel button to abandon your selections and close the wizard.