|
Re: How to add an extra property to a container style specification? [message #1835487 is a reply to message #1835363] |
Fri, 04 December 2020 15:32 |
|
Hello,
It is possibly but you will need to customize.
1) To do it from the odesign editor, you will need to modify the Sirius metamodel and properties view. It is possible but that would require to implement it in Sirius and rebuild it, or that you fork Sirius and to it yourself.
In my opinion, it will be far easier for you to provide a custom style[1].
2) That is also a feature not provided by Sirius, but that could be added. I think that I would provide a new action in the tab-bar using this extension point documentation [2].
3) Indeed, it would be better to avoid adding a graphical information in your semantic object. I would go with the solutions above. By the way, you can implement both solution in order to have the label position decided by the specifier, but still locally modifiable by the end user.
Best regards,
Steve
[1] https://www.eclipse.org/sirius/doc/developer/extensions-provide_custom_style.html
[2] https://www.eclipse.org/sirius/doc/developer/extensions-provide_tabbar_extensions.html
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
[Updated on: Fri, 04 December 2020 15:33] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03159 seconds