Page 1 of 1

Override Metaclass Customization

PostPosted: Fri Dec 07, 2018 12:44 pm
by talberi
Is there a way to override the customization of a stereotype's metaclass? I created a stereotype that has a metaclass of State. In MagicDraw, states can only be added onto state diagrams, with their owner being a Region. I want to be able to create my stereotyped element (hideMetatype=true) by right-clicking on a package and going through the create element option without having to create a state machine before I create my stereotyped element. I added Package as one of the possible owners in the stereotype's customization, but when I right-click on a package and go to create element, the stereotype appears in the available element list but it is grayed out. Is there a way to override the state metaclass's possible owners so that I can create my stereotyped element directly under a package?