3.x Properties View contributed from e4 view [message #1006526] |
Thu, 31 January 2013 10:18  |
Eclipse User |
|
|
|
How can we have a e4 view with some content viewer contributing to 3.x properties view, this is, select some item in the viewer and show its properties in 3.x properties.
Sorry for re-iteration, but I'm not gettin any answers, and I'm not getting into it by myself.
Thanks in advance
|
|
|
Re: 3.x Properties View contributed from e4 view [message #1006681 is a reply to message #1006526] |
Fri, 01 February 2013 07:17  |
Eclipse User |
|
|
|
As far as I could inspect, when we use some workbenchpart à la 3.x, and a selection event ocurrs, the SelectionService (org.eclipse.ui.internal.e4.compatibility.SelectionService) performs this:
Object client = part.getObject();
if (client instanceof CompatibilityPart) {
IWorkbenchPart workbenchPart = ((CompatibilityPart) client).getPart();
notifyListeners(part.getElementId(), workbenchPart, (ISelection) selection);
}
if (page != null) {
page.updateShowInSources(part);
}
which means that if my view is pure e4 view, that notification never happens, and Properties View will never be notified. I suppose thus, that we cannot integrate e4 views with 3.x properties view. (in my case tabbed properties).
Correct me please, if i'm wrong.
|
|
|
Powered by
FUDForum. Page generated in 0.04090 seconds