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

Hi Robert,

There is no extension point for this.  You would have to implement a 
listener and then react when the stereotype gets added.  Try a 
ResourceSetListener.
You can then obtain the element to which the stereotype is applied, have a 
look at UMLUtil.getBaseElement();

Cheers,
- James.


"Robert Lario" <lario*NOSPAM*@inherit.com> wrote in message 
news:gfsp6l$ra3$1@xxxxxxxxxxxxxxxxxxxx
> When an element is stereotyped I need to run some custom code.  Is there a 
> code extension point I should use for this?
>
>
>
> Thanks
>
>