Skip to main content



      Home
Home » Modeling » Papyrus » color parts in a diagram according to the stereotype of its type
color parts in a diagram according to the stereotype of its type [message #1758602] Thu, 30 March 2017 09:34 Go to next message
Eclipse UserFriend
we want to classify SysML InterfaceBlocks using stereotypes. We further want to type SysML Parts using InterfaceBlocks.

The icons of the parts within an internal block diagram should be colored according to the stereotypes assigned to the InterfaceBlocks.

Is this possible?

Many thanks in advance,
Carsten
Re: color parts in a diagram according to the stereotype of its type [message #1758949 is a reply to message #1758602] Tue, 04 April 2017 14:21 Go to previous messageGo to next message
Eclipse UserFriend
Hi Carsten,

I'm not sure if you can colour the icons of the parts, but you can certainly colour the parts based on their stereotypes using Papyrus's CSS capability.

Here are three links to learn more about using CSS with Papyrus:




I hope this helps.

[Updated on: Tue, 04 April 2017 14:22] by Moderator

Re: color parts in a diagram according to the stereotype of its type [message #1759113 is a reply to message #1758949] Thu, 06 April 2017 10:56 Go to previous message
Eclipse UserFriend
In the version 3.0 of papyrus, we will add this for CSS
see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=514768
Patrick
Previous Topic:members of the same base reference metamodel
Next Topic:UML Class Diagram attributes compartment issue
Goto Forum:
  


Current Time: Tue Jul 01 15:32:23 EDT 2025

Powered by FUDForum. Page generated in 0.03726 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top