| Summary: | [Navigation Service] Improve the target of the Navigation Service | ||
|---|---|---|---|
| Product: | [Modeling] Papyrus | Reporter: | Camille Letavernier <cletavernier> |
| Component: | Core | Assignee: | Camille Letavernier <cletavernier> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | lars.gelin, papyrus-bugs, patrik |
| Version: | 0.10.0 | ||
| Target Milestone: | M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | 399882 | ||
| Bug Blocks: | |||
|
Description
Camille Letavernier
Fixed in r10999
The Navigation Service has been augmented to support Navigation Target contributions. The mechanism is an Extension Point with a priority mechanism: the first valid Navigation Target is used (valid means that the target is able to select an element, e.g. the element is displayed in a Diagram)
Two implementations of the Navigation Target have been provided:
- Navigate in the current nested editor (i.e. current diagram)
- Navigate in the ModelExplorer (If the first option fails to retrieve the element)
More strategies may be easily added, but as said in the initial comment:
> We may also search in all existing diagrams, but this would then take much more time on big models. This should probably be a separate feature
|