Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Different properties view for each editor
Different properties view for each editor [message #535760] Tue, 25 May 2010 10:11 Go to next message
Geejay is currently offline Geejay
Messages: 160
Registered: February 2010
Senior Member
I have a number of different editors.

I have set up the properties view "org.eclipse.ui.views.PropertySheet" in my
perspective.

I have setup a PropertySourceProvider, and it works fine when I open up one
or two editors, but when I click back on an earlier editor, the properties
don't change.

Do I have to implement an ISelectionProvider somewhere?

Thanks

Greg
Re: Different properties view for each editor [message #537661 is a reply to message #535760] Thu, 03 June 2010 05:49 Go to previous message
Geejay is currently offline Geejay
Messages: 160
Registered: February 2010
Senior Member
Solved. Was using my PropertySourceProvider implementation in the wrong way.
Should have only one SourceProvider instance per Editor. Obvious? Probably.

"geejay" <gjmcknight@schlagundrahm.ch> wrote in message
news:htglr5$n27$1@build.eclipse.org...
> I have a number of different editors.
>
> I have set up the properties view "org.eclipse.ui.views.PropertySheet" in
> my perspective.
>
> I have setup a PropertySourceProvider, and it works fine when I open up
> one or two editors, but when I click back on an earlier editor, the
> properties don't change.
>
> Do I have to implement an ISelectionProvider somewhere?
>
> Thanks
>
> Greg
Previous Topic:Best way to speed up SWT layout code in Editor
Next Topic:Error Log
Goto Forum:
  


Current Time: Sat Apr 19 05:58:07 EDT 2014

Powered by FUDForum. Page generated in 0.04292 seconds