Custom shape not shown [message #1833725] |
Thu, 22 October 2020 11:47  |
Eclipse User |
|
|
|
Hi all,
I'm trying to adapt the shape of an element if a certain Stereotype is applied. Unfortunately this does not really work. I managed to change the shapes and so on via my style sheet but I need to change the shape of certain classes and I want to disable the compartments.
I followed the following page for changing the symbol https://wiki.eclipse.org/MDT/Papyrus/UserGuide/Symbols and this video https://www.youtube.com/watch?v=90Qt9a_0c-k
I tried the following things to change the shape
- adding it to the stereotype icons as a shape
- directly refercing the svg in the css
- using the TypeSymbolDefinition Stereotype and pointing to the svg file
I also renamed the path from the generated id to "PapyrusPath" as the page references, but it doesn't work either.
I added my style sheet and my svg to the attachments. Is there any step I'm missing or is my svg somehow corrupted?
Thanks for your help
BR Christoph
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04234 seconds