Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » 3.x Properties View contributed from e4 view
3.x Properties View contributed from e4 view [message #1006526] Thu, 31 January 2013 15:18 Go to next message
Rui Domingues is currently offline Rui Domingues
Messages: 191
Registered: October 2010
Senior Member
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 12:17 Go to previous message
Rui Domingues is currently offline Rui Domingues
Messages: 191
Registered: October 2010
Senior Member
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.
Previous Topic:styling the selected item of a list or tree
Next Topic:CSS property 'unselected-tabs-color' has been deprecated
Goto Forum:
  


Current Time: Thu Sep 18 05:49:40 GMT 2014

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

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