MetabaseOpenDialog

Inheritance Hierarchy

          IComponent

          IMetabaseDialog

          IMetabaseOpenDialog

          MetabaseOpenDialog

Description

The MetabaseOpenDialog component is an open repository object dialog box.

Working with the Component

The dialog box enables the user to filter empty folders. To do this, select the corresponding context menu item. Filtering is enabled by default. To initialize the dialog box, call the Execute method.

Component Filters

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

This dialog box contains a list of filters applied to the component.

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

The dialog box can be used to create new filters, edit or delete the existing ones. Multiple filters can be selected in the table, these selected filters can only be deleted.

Filter description can be edited. To do this, select the required filter and click the description with the mouse button. After a few seconds a dialog box for editing a description opens. One can also use the F2 key.

Creating an Object Filter

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

Select the type of the created filter in the dialog box that opens. The available types are:

In the class tree select object classes, which are available when this filter is used. Use the Show Subclasses checkbox to disable displaying of additional object classes in the tree.

In the Create the Following Type of Filter area specify how you want the filter to be saved:

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

Editing Object Filter

To edit a filter, execute one of the following operations:

Depending on the type of the created filter (a separate filter for a class (subclass) or a composite filter), a dialog box for editing a filter opens.

The dialog box can be used to change the class (subclass or their combination for a composite filter), for which the filter has been created as well as the filter description. Clicking the OK button saves the changes.

Deleting Filter

To delete a filter (filters), select it in the table and execute one of the following operations:

The filter is deleted.

Example

Properties of the MetabaseOpenDialog 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 index of the selected component filter.
Filters The Filters property returns the component filters collection.
FolderFilters The FolderFilters property returns the collection of filters that are used to determine folder objects in the dialog box.
InitialFolder The InitialFolder property determines an initial folder.
MultiSelect The MultiSelect property determines whether multiselection is possible.
Name The Name property determines a component name.
Object The Object property returns the description of the selected repository object.
Objects The Objects property returns the collection of selected repository objects.
Root The Root property determines a root folder.
Tag The Tag property is not used by the compiler. The user can change the value of the Tag property and use it as he wishes.
Title The Title property determines a dialog box title.

Methods of the MetabaseOpenDialog Component

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

See also:

Additional Components