Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Selection provider that is not a workbench part
Selection provider that is not a workbench part [message #482687] Thu, 27 August 2009 14:33 Go to next message
Bryan Banz is currently offline Bryan BanzFriend
Messages: 10
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?
Re: Selection provider that is not a workbench part [message #482714 is a reply to message #482687] Thu, 27 August 2009 16:34 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It's OK to just post to one of the forums/newsgroups.

Answered in the other one...
PW


Previous Topic:Get workbench part instance.
Next Topic:debug JSTL variables
Goto Forum:
  


Current Time: Fri Apr 26 22:05:35 GMT 2024

Powered by FUDForum. Page generated in 0.03352 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top