Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to define a stereotype which subsets a meta-class association / redefine an attribute
How to define a stereotype which subsets a meta-class association / redefine an attribute [message #958950] Fri, 26 October 2012 06:43 Go to previous message
Andrea Sindico is currently offline Andrea Sindico
Messages: 250
Registered: November 2010
Senior Member

I'd like to define a stereotype which extends the Class meta-class and redefines the ownedBehavior attribute so that it can only takes Activities. I guess one way to do that is via OCL but I can't see the Constraints tab in the Properties View. Plus I would like the editor to only allow the instantiation of activities if the stereotype is applied. Should I do that by means of "static" profiles?

Follow me on Twitter @andreasindico

 
Read Message
Read Message
Previous Topic:MARTE Palette
Next Topic:Juno class diagram - no assist to add attributes
Goto Forum:
  


Current Time: Wed May 22 20:12:44 EDT 2013

Powered by FUDForum. Page generated in 0.02022 seconds