Book a Demo

Author Topic: Package stereotype restrictions  (Read 2608 times)

surel

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Package stereotype restrictions
« 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

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Package stereotype restrictions
« Reply #1 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.