Properties view (compatibility view) [message #1015196] |
Wed, 27 February 2013 17:37 |
Rui Domingues Messages: 194 Registered: October 2010 |
Senior Member |
|
|
Hi everyone.
I'm developing an RCP which used 3.x editors like the ones of Graphiti, GMF, and these use contributions to standard 3.x properties view.
Thus, I also want use this view to show properties of my E4 views, however I know that in 3.x we must code something like:
getSite().setSelectionProvider(viewer);
in order to make the view selection available to other views.
In e4 we have selectionservice, but as Far as I know 3.x properties view is not listening when I use the selection service to propagate the selection in my view, because I can't obviously insert the code below in it:
@Inject
void setSelection(@Optional @Named(IServiceConstants.ACTIVE_SELECTION) MyClass clazz) {
}
What should I do to make 3.x properties to listen to selections in my e4 Views, or what other options do I have?
Thanks in advance.
[Updated on: Wed, 27 February 2013 17:39] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.02784 seconds