The object finder widget is a tool that provides quick object searching over the model. This feature is very useful when the working model has a huge load of objects being almost impossible to easily locate a specific item using the conventional model objects widget or the other available navigation tools. This widget works like an ordinary text search being possible to filter results by object type and some other attribute, but it also can highlight objects in different ways to identify their location on the database model.
The objects are scanned by using a name pattern which can be a fixed string, a wildcard string, or a regular expression in the form accepted by the Qt framework. Once the results are retrieved the user can interact with the items by double-clicking them to open the respective properties dialog, selecting one or more items and right-click to bring the context menu, or even highlighting them on the model if the proper option is checked. Details about the fields and controls of this widget are described as follows.
|The keyword that will be matched against the object's names (or another searching attribute) when searching.
|The name of the attribute in which the pattern must be matched. Currently, object searching can operate over the following objects' attributes: name, comment, signature, schema, owner, tablespace, data type, return type, source table, destination table, related foreign key, source columns, and referenced columns.
|This button performs the searching. Once finished, the result is displayed on the grid at the bottom of the widget.
|This button toggles the search filter options. The filter involves the kind of objects to be searched as well as some pattern matching options.
|This button simply clears the result grid in order to start over.
|Selects the objects by two distinct conditions:
Not listed. The first will cause the objects on the result grid to be selected. The second option causes the objects not listed on the results grid to be selected on the canvas.
|Fades out the objects by two distinct conditions:
Not listed. The first will cause the objects on the result grid to be faded out. The second option causes the objects not listed on the results grid to be faded out on the canvas.
|This option enables the pattern to be interpreted as a regular expression.
|This option indicates that the search must select only those objects in which the search attribute completely matches the pattern.
|This option enables the search to consider the upper or lower case when matching attributes. For instance, let's say we have two objects named
OBJECT_A, if we search them by using the pattern
obj* with the case sensitive option checked only the first object will be returned this because despite the names being the same for us, for the searching process they are completely different due to the upper case characters on the second object's name.
|Selects all the object types on the filter. Every time you modify the selection on the object type filter you need to do a new search in order to apply this change.
|Clears the selection on the object type filter.
Qt framework regular expressions