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

Difference between revisions of "Papyrus/Mars Work Description/Improvments/Search UI"

(Minor Changes and Bugzilla References)
Line 46: Line 46:
 
* Problem: When searching in several models (e.g. all workspace models), all or some searched models, with diagrams, are loaded into the current model's model explorer.
 
* Problem: When searching in several models (e.g. all workspace models), all or some searched models, with diagrams, are loaded into the current model's model explorer.
 
* Solution: Ongoing.
 
* Solution: Ongoing.
 +
 +
== Ongoing and Future Work ==

Revision as of 04:46, 23 February 2015

Quick Overview

The Papyrus search UI is a dialog integrated into the Eclipse search interfaces. Its role is to let the user search for elements and attributes in the UML models and diagrams created with Papyrus.

There are two kinds queries that the user can provide: text query or OCL query. For each kind of query, the user can use a simple search mode, or an advanced search mode. In the simple search mode, the user must search among all elements and attributes in the model. In the advanced search mode, the user can choose the types of elements and attributes to search for, as well as element stereotypes.

The improvement work done for Mars focuses mainly on the advanced search mode. Along with bug fixes, the new advanced search mode of Mars improves the UI for stereotypes displaying, and adds new options to search for stereotyped elements.

Major Changes and Improvments

Diff

Minor Changes and Bugzilla References

The following bugs are fixed:

Bug 456874 - Error when searching in the models for a specific String

  • Problem: Index out of bound exception when searching for some strings.
  • Solution: Fixed the computation of offsets and length for matches found in a string.

Bug 459431 - Refresh types button removes attributes of elements after filter

  • Problem: Attributes of elements or stereotypes are hidden after the refresh button is clicked, in some instances.
  • Solution: Fixed UI refreshing backend.

Bug 459429 - Unnecessary UI refresh when selecting same search kind

  • Problem: The UI refreshes when the user selects the same search mode he/she is already in.
  • Solution: UI now remembers search mode.

Bug 459425 - In advanced search, selecting an element should select all of its attributes by default

  • Problem: The user could select an element, but its attributes aren't selected automatically.
  • Solution: Selecting an element now selects all of its attributes. Deselecting the last attribute of an element also deselects the element. Backend bugs were also fixed to reflect correctly the user selection.

Bug 459417 - Text above search textbox

  • Problem: Explanatory text above search UI query textbox was not shown.
  • Solution: Explanatory text is now shown and more explicit on effects of leaving the text query blank.

Bug 459421 - Advanced search sub-categories (attributes) not visible when filtering elements

  • Problem: Filtering elements does not show their attributes that do not match the filter.
  • Solution: Ongoing.

Bug 432834 - The search operation loads models into the active ModelSet

  • Problem: When searching in several models (e.g. all workspace models), all or some searched models, with diagrams, are loaded into the current model's model explorer.
  • Solution: Ongoing.

Ongoing and Future Work

Back to the top