| Summary: | Differentiate "transient" hover from "intended" hover | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF MVC | Assignee: | gef-inbox <gef-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | victor.johnsson |
| Version: | 1.1.0 | ||
| Target Milestone: | 5.0.0 (Oxygen) M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Matthias Wienand
I think it is sufficient to provide another property within the exisiting HoverModel. Consequently, I added an "intentionalHoverProperty". However, I am unsatisfied with the name. Other names that I thought of: deliberate, intended, wanted, desired. I am open for suggestions and opinions. I renamed "intentionalHoverProperty" to "hoverIntentProperty", because "hoverIntent" is a term used by other GUI libraries already for the same functionality. Correspondingly, I implemented a separate HoverIntentBehavior that complements HoverBehavior for the generation of feedback and handles for hover intent. I adapted the examples so that the previous hover handles are now hover intent handles. The hover intent functionality is split among several parts: HoverTool notifies about hover intent "events", i.e. it manages a PauseTransition that runs when the mouse is stationary; HoverOnHoverPolicy manipulates the HoverModel in response to "hover" and "hoverIntent" events; and the HoverBehavior and HoverIntentBehavior are responsible for feedback and handle generation. The code is published on the master branch, therefore, I resolve this ticket as fixed for 5.0.0 M6. |