Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Papyrus/Oxygen Work Description/NewFeature/SearchInModelExplorer

Search field in Model Explorer is available since Oxygen version.

FilterInModelExplorer.png

You can use:
? for any character
* for any string
; is used as OR
^ is used as start key
$ is used as end key

A case sensitive option is available (use Aa checkbox)

Preferences

The search is executed live (with a delay) by default and on the "enter" key. It can be changed in the preferences, here are the options

- disable the live validation
- change the delay (in millisecond)

SearchInModelExplorerPreferences.png

Stereotype Information

Stereotype are displayed using special char that may them difficult to filter.

Here is the an extract of UML 2.4.1:
Annex B: Keywords (normative) page 697 Keywords are always enclosed in guillemets («keyword»), which serve as visual cues to more readily distinguish when a keyword is being used. (Note that guillemets are a special kind of quotation marks and should not be confused with or replaced by duplicated “greater than” (») or “less than” («) symbols, except in situations where the available character set may not include guillemets.) In addition to identifying keywords, guillemets are also used to distinguish the usage of stereotypes defined in user profiles. This means that: 1. Not all words appearing between guillemets are necessarily keywords (i.e., reserved words), and 2. words appearing in guillemets do not necessarily represent stereotypes. If multiple keywords and/or stereotype names apply to the same model element, each stereotype may be enclosed in a separate pair of guillemets and listed one after the other. Alternatively they all appear between the same pair of guillemets, separated by commas: “«” <label> [“,” <label>]* “»” where: <label> ::= <keyword> | <stereotype-label>

Related Tasks

  • Bug 500290 - [Model Explorer] It should be posible to filter element from model
  • Bug 500290 - [Model Explorer] The validation of search field should be improved.
  • Bug 505797 - [Model Explorer] The validation of search field should allow ^ and $ wildcards

Back to the top