Skip to main content



      Home
Home » Modeling » Papyrus » Color and Stereotype(Changing an element's color by applying a stereotype)
Color and Stereotype [message #675777] Wed, 01 June 2011 09:28 Go to next message
Eclipse UserFriend
Hi !

I would like to know, if it's possible, how can i make a stereotype <<Red>> in a profile which make every element who have this stereotype are colored in red ?

Thanks !
Re: Color and Stereotype [message #677753 is a reply to message #675777] Thu, 09 June 2011 06:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
Currently it is not possible in the diagrams. but it's possible in the Model Explorer, using the EMF-Facet customization mechanism. You should create and register a .uiCustom file.
For more details, see http ://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.gmt.modisco.infra.doc/doc/MoDisco/Components/ModelBrowser/Documentation/0.8/Customization.html

Warning : Modisco becomes EMF-Facet for some functionalities, so you need to create an EMF-Facet Project (and not a Modisco Project) and use the Model Browser customization provided by the EMF-Facet plugin and not the Modisco plugin!

Re: Color and Stereotype [message #682030 is a reply to message #677753] Fri, 10 June 2011 05:15 Go to previous messageGo to next message
Eclipse UserFriend
The color in UML has specific significations such as explained by Peter code few years ago.
Four possibilities are usually provided :

Yellow: the value of the stereotype is role.
Pink: the value of the stereotype is moment or interval.
Green: the value of the stereotype is thing.
Blue: the value of the stereotype is description.
Re: Color and Stereotype [message #682038 is a reply to message #682030] Fri, 10 June 2011 05:27 Go to previous messageGo to next message
Eclipse UserFriend
Le 10/06/2011 11:15, Vlad Varnica a écrit :
> The color in UML has specific significations such as explained by Peter
> code few years ago.
> Four possibilities are usually provided :
>
> Yellow: the value of the stereotype is role.
> Pink: the value of the stereotype is moment or interval.
> Green: the value of the stereotype is thing.
> Blue: the value of the stereotype is description.
>


About modeling with semantic colors, you can have a look to an
implementation in Obeo Designer :

http://model-driven-blogging.blogspot.com/2010/02/ecore-in-colors.html
http://model-driven-blogging.blogspot.com/2010/03/ecore-in-colors-in-motion.html

Regards,

Mariot
--
Mariot Chauvin @ Obeo

Blog : http://mariot-thoughts.blogspot.com
Twitter :http://twitter.com/mchv
Professional support : http://obeo.fr/pages/maintenance-and-support/
Re: Color and Stereotype [message #682133 is a reply to message #682038] Fri, 10 June 2011 09:30 Go to previous messageGo to next message
Eclipse UserFriend
Ok thanks a lot, i'll have a look !
Re: Color and Stereotype [message #682730 is a reply to message #682030] Sat, 11 June 2011 20:07 Go to previous message
Eclipse UserFriend
Is it a part of UML2 specifications ?

[Updated on: Sun, 12 June 2011 05:19] by Moderator

Previous Topic:Forum participation
Next Topic:Installation problem on Galileo
Goto Forum:
  


Current Time: Sun Jul 06 14:56:31 EDT 2025

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

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

Back to the top