Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:34 Go to next message
Carsten Pitz is currently offline Carsten PitzFriend
Messages: 479
Registered: May 2015
Location: Germany
Senior Member
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 18:21 Go to previous messageGo to next message
Charles Rivet is currently offline Charles RivetFriend
Messages: 219
Registered: May 2014
Location: Canada
Senior Member

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.


/Charles Rivet

[Updated on: Tue, 04 April 2017 18:22]

Report message to a 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 14:56 Go to previous message
Patrick Tessier is currently offline Patrick TessierFriend
Messages: 341
Registered: July 2009
Location: Paris Saclay, France
Senior Member
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: Thu Apr 25 18:57:22 GMT 2024

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

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

Back to the top