| Selection provider that is not a workbench part [message #482687] |
Thu, 27 August 2009 10:33  |
Bryan Banz Messages: 8 Registered: August 2009 |
Junior Member |
|
|
I am developing an RCP application in which I have sort of state manager that is not a workbench part, but needs to notify the workbench of certain selection change events.
The views have a well known method to register themselves as selection providers (getSite().setSelectionProvider(this)), but I havn't found a way for my state manager to register itself as a selection provider with the workbench.
For now I've created a hidden dummy view that registers my state manager as the selection provider, but this seems like a kludge. What is the right way to go about this?
|
|
|
|
Powered by
FUDForum. Page generated in 0.01680 seconds