|stereotyping port [message #624385]
||Mon, 13 August 2007 13:26
Originally posted by: nickkirtley.gmail.com|
With uml2 tools I select a port and an interface and I want to stereotype
I have the object, when I debug I see that I have the relevant element
selected. Next I want to look up the relevant stereotypes using (got this
from the class diagram example, I'm doing it in the component diagram):
EList<Stereotype> stereotypes = element.getApplicableStereotypes();
My element is an instance of port and I want to retrieve any relevant
stereotypes that exist. By relevant stereotypes I mean stereotypes that
extend UML:port in my uml definition.
However when I do this I get an empty list.
One other thing. When I have retrieved a relevant sterotype and want to
apply it. I can do this with applyStereotype?
thx in advance for any help,
Powered by FUDForum
. Page generated in 0.02241 seconds