Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: surel on April 05, 2013, 10:15:42 pm

Title: Package stereotype restrictions
Post by: surel on April 05, 2013, 10:15:42 pm
Hi,

Does anyone know whether it's possible to restrict the stereotypes that are allowed within a package?

Say I create a package "classes".  Is it possible to restrict it so that only elements of type "class" can be added to this package?

Thanks,
Surél
Title: Re: Package stereotype restrictions
Post by: qwerty on April 05, 2013, 11:25:09 pm
Not out of the box. You might write an add-in that reacts on EA_OnPreNewElement.

q.