|Showing properties of e4 view selection in 3.x Properties view [message #1005497]
||Fri, 25 January 2013 12:07
| Rui Domingues
Registered: October 2010
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:
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?
Powered by FUDForum
. Page generated in 0.02103 seconds