MagicDraw 18.3 Documentation

Skip to end of metadata
Go to start of metadata

The modeling tool filtering mechanism allows filtering types of model elements in particular lists. For example, you can filter the types of model elements that are displayed in the Model Browser, or you can select them when searching.


To filter the types of the model elements that are displayed in the Containment tab


  1. In the Model Browser, open the Containment tab (in case it was closed or another tab was open).
  2. Click and select Filter.



    The Items Filter dialog opens.



  3. Do one of the following:
    • Click to clear the check box next to the model element type, which you do not want to be displayed in the Containment tab.
    • Click to select the check box next to the model element type, which you want to be displayed in the Containment tab.
  4.  Click OK. Items in the Containment tab are now filtered.
All elements in the Containment tab are displayed in hierarchical order. If you clear the Model check box, no elements will be displayed in the Containment tab. The same is valid for all element types – if you clear the check box next to the type of element that has inner elements in the Model Browser, you won't be able to see these inner elements.

 

To filter the types of model elements when searching


  1. From the Edit main menu, select Find. The Find dialog opens.
  2. Next to the Type box, click . The Select Element/Symbol Type dialog opens.


  3. Click to select the check box of the model element type that you want to search for.
  4. Click OK. The Search Results tab opens in the Model Browser.

Using the filtering dialog

In the filtering dialog you can select the check box next to the model element type that you want to be filtered – displayed or searched for.

The same dialog opens when filtering items in the Containment tab and when searching for elements:

  • The Items Filter dialog opens when filtering items in the Containment tab (see the following figure). The purpose of the Items Filter dialog is to provide a possibility to hide elements which you do not want to see in the Containment tab.
  • The Select Element/Symbol Type dialog opens when searching for items. The purpose of the Select Element/Symbol Type dialog is to select the type of element for the search. 


The following table provides descriptions of the filtering dialog buttons.

Button

Description

List

Click the List button to list the types of elements in one alphabetic list. There are two groups in the list: Element and Symbol.

Inheritance

Click the Inheritance button to group the types of elements according to the inheritance. For example, types of elements are grouped to the following inheritances: Named Element, Relations, and others. The Symbol group is listed also.

StructuralClick the Inheritance button to group the types of elements according to the following groups: DSL Customization, MagicDraw Profile, UML2 Metamodel, Symbol.

Select All

Click the Select All button to select all types of elements in the list – all elements will be displayed after filtering or searching.

Clear All

Click the Clear All button to clear all types of elements in the list – no elements will be displayed after filtering or searching.

 

  • No labels