| Summary: | Introduce AbstractFXTool that provides utility methods for prioritized target selection. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Matthias Wienand <matthias.wienand> |
| Component: | GEF MVC | Assignee: | Matthias Wienand <matthias.wienand> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.2.0 | ||
| Target Milestone: | 4.0.0 / 3.11.0 (Neon) M5 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 481810 | ||
|
Description
Matthias Wienand
I created an AbstractFXTool that provides a deterministic target policy selection. The policies that are registered on the root part are executed first. The part hierarchy is then walked down to the actual target part. For every part on the way, the registered policies are sorted (alphanumerically) by their role. This allows to control the order in which policies are executed. Moreover, I removed superfluous FXDeleteSelectedOnTypePolicy bindings and decoupled the FXCloneOnClickPolicy from the FXFocusAndSelectOnClickPolicy. The code is published on the master branch, therefore, I resolve this ticket as fixed for 3.11.0M5. |