MetabaseSaveDialog

Inheritance Hierarchy

          IComponent

          IMetabaseDialog

          IMetabaseSaveDialog

          MetabaseSaveDialog

Description

The MetabaseSaveDialog component is a repository object save dialog.

Working with the Component

It is possible to filter empty folders in the dialog; to do so, select the corresponding item of the context menu. Filtering is enabled by default. To initialize this dialog call the  Execute method.

Component Filters

To set up filtering for objects displayed in the component tree, take one of the following steps:

This window shows a list of filters applied to the component.

The list is displayed as a table made up of two columns:

In this window, you can create new filters, edit or delete the existing ones. You can select multiple filters in the table, though these selected filters can only be deleted.

You can edit a filter description. To do this, select the required filter and click the description with your mouse. After a few seconds a dialog box for editing a description is opened. You can also use the F2 button.

Creating Object Filter

To create a new object filter, take one of the following steps:

In the class tree, select object classes, which should be available when this filter is used. Separate filters will always be created for all the selected classes (subclasses). Descriptions of created filters match the names of classes (subclasses).

Clicking OK creates a new filter (filters) for the selected object classes.

Editing an Object Filter

To edit a filter, take one of the following steps:

Following this a dialog box for editing the filter appears:

In this dialog box, you can change the object class (subclass) for which the filter has been created as well as the filter description. Clicking OK saves the changes.

Filter Deleting

To delete a filter (filters), select it from the table and take one of the following steps:

This deletes the filter.

Example

Properties of the MetabaseSaveDialog Component

  Property name Brief description
ComponentCount The ComponentCount property returns the number of child components.
Components The Components property returns the child component.
Data The Data property is used to store any custom data.
FilterIndex The FilterIndex property determines the index of the filter, used in the dialog.
Filters The Filters property returns the collection of filters, used by the dialog.
FolderFilters The FolderFilters collection property returns a collection of filters used to define folder objects in the dialog box.
InitialFolder The InitialFolder property determines the initial folder.
Name The Name property determines the component name.
Object The Object property returns the description of the selected repository object.
Objects The Objects property returns the collection of the selected repository objects.
Root The Root property determines the root folder.
SaveObject The SaveObject property determines description of the repository object to be saved.
Tag The Tag property is not used by the compiler. The user can change the value of the Tag property and use it as required.
Title The Title property determines the dialog title.

Methods of the MetabaseSaveDialog Component

  Method name Brief description
Execute The Execute method initializes the repository object open dialog.

See also:

Additional Components