[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.mdt.uml2] Re: Applying stereotypes

Hi Eban,

Sorry for the late reply. I was away on a short vacation.

I'm glad you have it working now. That's right, Profiles are considered a "Lightweight" extension of the meta-model and you have to decide which parts of the meta-model to extend. It is possible to have a stereotype extend more than one metaclass so that the stereotype can be applied on multiple types. Also, the stereotype can be applied to all sub-classes of the extended metaclass.

Tas


"Eban Escott" <eban.escott@xxxxxxxxxxxxxxxx> wrote in message news:18672070559dba8e9a6e94aa41e3e28a$1@xxxxxxxxxxxxxxxxxx
Tas! I sort of worked it out from my last question to you? I quote from the tutorial

"stereotypes defined in the profile can be applied to instances of the appropriate metaclasses (as per the defined extensions)"

So, the stereotypes I created can only be applied to <Property> not <Class> because of the extension points I use?

I don't fully understand it yet but I can now apply a stereotype from a profile to a property!!! Sweet.

Thanks for your patience.
Eban