Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Showing properties of e4 view selection in 3.x Properties view
Showing properties of e4 view selection in 3.x Properties view [message #1005497] Fri, 25 January 2013 12:07 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 162
Registered: October 2010
Senior Member
Hi. I'm developing a RCP with some e4 views and some 3.x. Once I'm using 3.x properties view i'd like that when a select some item in my e4 views, the properties of that element show up in properties view.

How can I manage this?

Should I implement a view 4.x of my own to show propertes of all my RCP objects, including editor's objects, etc, or can I keep hybrid approach? In this case how can I do this? I started with this article: http://www.eclipse.org/articles/Article-Properties-View/properties-view.html and I also looked at the usual extension points:
org.eclipse.ui.views.properties.tabbed.propertyContributor
org.eclipse.ui.views.properties.tabbed.propertySections
...

At this point I've already propagated via Eselectionservice whenever view selection changes.:
IStructuredSelection selection = (IStructuredSelection) event.getSelection();
				selectionService.setSelection(selection.size()==1? selection.getFirstElement() : selection.toArray());


Can someone advise me?

Thanks
Rui
Re: Showing properties of e4 view selection in 3.x Properties view [message #1006422 is a reply to message #1005497] Thu, 31 January 2013 05:30 Go to previous message
Rui Domingues is currently offline Rui Domingues
Messages: 162
Registered: October 2010
Senior Member
anyone?
Previous Topic:Memory leak in TrackableComputaionExt
Next Topic:How to get objects be injected into an preference page?
Goto Forum:
  


Current Time: Fri May 24 16:34:28 EDT 2013

Powered by FUDForum. Page generated in 0.03637 seconds