| [news.eclipse.modeling.mdt.uml2] Re: Find stereotypes applicable to instances of EClass? |
Timothy, thanks for the quick answer. Your idea is not bad. However, what happens in case that the EClass is an abstract class?
Thanks
Joel
Hey,
what about:
Element element = (Element)UMLFactory.create(eclass); final boolean isApplicable = element.isStereotypeApplicable(stereo);
Timothy
Joel Greenyer schrieb:Hi,
given an EClass, corresponding to an UML meta-class, and a stereotype, I wonder what is the most elegant way to find out whether the stereotype is applicable to an instances of this EClass?
Any ideas?
Thanks for helping
Joel