[EMF Forms] Replacing renderers [message #1282505] |
Wed, 02 April 2014 08:00  |
Eclipse User |
|
|
|
Hi All,
I am trying to replace renderer for 'org.eclipse.emf.ecp.view.spi.model.VControl'. I've created new plugin and configured extension point like below:
<plugin>
<extension
point="org.eclipse.emf.ecp.ui.view.swt.renderers">
<renderer
element="org.eclipse.emf.ecp.view.spi.model.VControl"
renderer="org.leszyk.simple.groupgrid.swt.SWTControlRenderer">
</renderer>
</extension>
However it doesn't work. When debugging in SWTRendererFactory I see clearly that my renderer is discovered and initialized before the one provided by ECP itself. As they are stored in hashmap, the one provided by me is effectively replaced by this provided by ECP. It seems that in the renderer extention point I can't use staticTest and priorities section (as it is with control). Any hints?
Thank You!
Dominik
|
|
|
|
|
Re: [EMF Forms] Replacing renderers [message #1298708 is a reply to message #1297242] |
Wed, 16 April 2014 08:49  |
Eclipse User |
|
|
|
Hi,
Eugen is on Holidays fo tqo weeks, he will get back to you, once he is
back..
Best regards
Jonas
Am 15.04.2014 16:29, schrieb Dominik Leszyk:
> Hi Eugen,
>
> Thanks for reply.
> We're using version 1.2 and it seems that the features you're describing
> doesn't exist anymore. I mean that extension point
> org.eclipse.emf.ecp.ui.view.swt.customSWTRenderers does exist but there
> is nowhere a code that would process it. However such code exists in
> version 1.1.1 in SWTRenderer class (AFAIR). Unfortunately it's not
> possible for us to downgrade:) We will wait for 1.3 and support of
> priorities in renderers.
>
> Cheers,
> Dominik
|
|
|
Powered by
FUDForum. Page generated in 0.49332 seconds