Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 13:28 Go to next message
Valerian Merkling is currently offline Valerian MerklingFriend
Messages: 71
Registered: May 2011
Member
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 10:10 Go to previous messageGo to next message
vincent lorenzo is currently offline vincent lorenzoFriend
Messages: 125
Registered: June 2010
Location: Paris Saclay, France
Senior Member
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 09:15 Go to previous messageGo to next message
Vlad Varnica is currently offline Vlad VarnicaFriend
Messages: 546
Registered: July 2009
Location: Milton Keynes - UK
Senior Member
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 09:27 Go to previous messageGo to next message
Mariot Chauvin is currently offline Mariot ChauvinFriend
Messages: 174
Registered: July 2009
Senior Member
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 13:30 Go to previous messageGo to next message
Valerian Merkling is currently offline Valerian MerklingFriend
Messages: 71
Registered: May 2011
Member
Ok thanks a lot, i'll have a look !
Re: Color and Stereotype [message #682730 is a reply to message #682030] Sun, 12 June 2011 00:07 Go to previous message
Yann Tanguy is currently offline Yann TanguyFriend
Messages: 80
Registered: July 2009
Member
Is it a part of UML2 specifications ?

[Updated on: Sun, 12 June 2011 09:19]

Report message to a moderator

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


Current Time: Mon Jan 27 20:09:16 GMT 2020

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

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

Back to the top