|
|
Re: Does org.eclipse.sirius.diagram.customBundledImageShape work? [message #1821387 is a reply to message #1821370] |
Wed, 12 February 2020 10:00 |
|
Hello,
Indeed, as the custom bundled image is provided via an extension point, the plugin requires to be loaded so the VSM (odesign) can access it. I did not think to add a warning in the documentation about that at the time. I guess we could inspect the plugin of the VSM on the fly to check if there is a new extension of this time to avoid this reloading, but I have not tried.
Note that the documentation and extension point is now deprecated. This first attempt to provide custom SVG "reacting" to the style properties specified in the VSM were too limited. If I remember correctly it was expecting the SVG too be in a specific structure and did not managed multi-valued attributes . In order to keep the old way to work, a new extension point has been added and is documented here [1].
Best regards,
Steve
[1]https://www.eclipse.org/sirius/doc/developer/extensions-provide_custom_bundled_image_shape.html
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03370 seconds