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...

Previous Topic:Using JNDI in Eclipse
Next Topic:Moving a newly created Instance of a ViewPart
Goto Forum:

Current Time: Sun Apr 22 18:38:01 GMT 2018

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

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