

but not touch the actual information that a diagram displays.

Extend the palette of the SysML requirement diagram to create requirements automatically stereotyped with my custom type.Automatically apply my profile to the SysML root model element.The attached archive of plugins contains the code that demonstrates what I have done so far, i.e. Hopefully "just" a few more weeks scanning the source code and I will have the answer :-).Įnvironment: Windows 10, Eclipse (committers edition) & Papyrus 2020-06, SysML 1.4
#Papyrus theme extended how to#
Well, I "just" need to find out how to create a URI reference to the stylesheet and how to add this reference to the model stylesheets. Question: is there a way to programmatically register a CSS at a same or higher priority than the theme CSS?Īn acceptable solution would be to add a CSS reference (platform:/plugin/./xyz.css) to the model stylesheets at model creation time, when the plugin applies the custom profile. Problem: while experimenting with SysML 1.4 customizations, I hit the wall when trying to display by default the compartment of a custom stereotype. Goal: extend elements of an existing language without creating a new language, viewpoints etc.
