| Summary: | Using SelectionProviderMediator to work with different table views | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Roque Pinel <repinel> |
| Component: | API Tools | Assignee: | PDE API Tools Inbox <pde-apitools-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | remy.suen |
| Version: | 4.2 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
(In reply to comment #0) > But although the previous code works fine, the > 'org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator' class is > still internal and I think that is kind of discouraged... > > Is there a workaround for my case or any chance to offer the right access to > mediator class? Either live and acknowledge the fact that you are not using APIs or write your own implementation. |
Build Identifier: 20100617-1415 So as to allows the user to select elements from different table view in the same view, I started using the SelectionProviderMediator. Something like: StructuredViewer[] trackedViewers = new StructuredViewer[] { table1, table2, table3 }; ISelectionProvider selectionProvider = new SelectionProviderMediator(trackedViewers, statisticTable); getSite().setSelectionProvider(selectionProvider); But although the previous code works fine, the 'org.eclipse.jdt.internal.ui.viewsupport.SelectionProviderMediator' class is still internal and I think that is kind of discouraged... Is there a workaround for my case or any chance to offer the right access to mediator class? Thank you all for any help. Reproducible: Always