| Summary: | Fix that ISelectionProvider/SelectionForwarder cannot be properly exchanged. | ||
|---|---|---|---|
| Product: | [Tools] GEF | Reporter: | Alexander Nyßen <nyssen> |
| Component: | GEF MVC | Assignee: | Alexander Nyßen <nyssen> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 0.2.0 | ||
| Target Milestone: | 4.0.0 (Neon) RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alexander Nyßen
I pushed the following changes to origin/master: - Introduced a new ISelectionProviderFactory that can be used to create an ISelectionProvider for an IWorkbenchPart. - Merged DefaultSelectionProvider and SelectionForwarder into a single ContentSelectionProvider, which implements ISelectionProvider and synchronizes the selection with a given SelectionModel. - Removed ISelectionProvider binding from MvcUiModule, and replaced it with an ISelectionProviderFactory binding within MvcFxUiModule, which creates a ContentSelectionProvider based on the content viewer's SelectionModel. - Removed registerWorkbenchSelectionForwarder() method from AbstractFxView. - Exposed getDomain() in AbstractFXView and AbstractFxEditor. - Renamed AbstractEditor.getViewer() into getContentViewer(), so the API resembles that of AbstractFXView. Resolve as fixed in 4.0.0 RC1. |