Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Unable to retrieve stereotypes applied to Interface
Unable to retrieve stereotypes applied to Interface [message #628477] Sat, 29 May 2010 08:39
Eclipse UserFriend
Originally posted by: vanbeerst.gmail.com

Hi,

When I have an Interface in a model and I apply a stereotype to it,
there is no way of retrieving that stereotype. The only stereotype that
is returned using getAppliedStereotypes() is the 'Interface' stereotype.
Is this a bug, or am I missing something here?

I have tried this in the UML editor :
1. create a model containing an Interface.
2. apply a stereotype to the interface
3. close the model
4. reopen the model
5. the stereotype application is lost
when i open the file with a text editor, the stereotype
application is there and it is correctly applied, but
the editor does not show this

I encountered the same problem using QVTO, when giving a model as input
containing an interface with some stereotype applied, the 'Interface'
stereotype is returned from a call to getAppliedStereotypes(), but the
other stereotype is not returned. When I call
getApplicableStereotypes(), the stereotype is in the list of applicable
stereotypes.

I only have this problem with Interfaces, I did not encounter the
problem with any of the other types (Class, Association, ...) so far.

Dear regards,
Tony.
Previous Topic:Unable to retrieve stereotypes applied to Interface
Next Topic:Derived feature in OCL
Goto Forum:
  


Current Time: Thu Apr 18 08:31:38 GMT 2024

Powered by FUDForum. Page generated in 0.01972 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top