How to get all available UML properties [message #895872] |
Mon, 16 July 2012 08:03  |
Eclipse User |
|
|
|
Hi,
when I open a UML model within the model editor, in the properties view in eclipse there are some properties like "Name", "Use Case", "Visibility" etc. (depending on the selected element type).
How can I get these properties automatically? Are these structural features of the eClass?
I.e.: selectedUMLElement.eClass().getEAllStructuralFeatures()?
Because this list is much longer than within Eclipse. Or is there a way to work on UML element? I tried:
selectedUMLElementClassifier.allFeatures()
But this list is empty.
So how can I get a list of available properties for a UML element? Any ideas?
Regards,
Tex
|
|
|
|
|
Re: How to get all available UML properties [message #897524 is a reply to message #897505] |
Tue, 24 July 2012 08:02  |
Eclipse User |
|
|
|
Hi
The EAnnotations contains aspects of UML such as 'redefines' that are
not directly representable in Ecore.
Regards
Ed Willink
On 24/07/2012 11:26, Tex Iano wrote:
> Hi,
>
> thanks. Already works a little bit :) But what is the EAnnotation for?
>
> Regards,
>
> Tex
|
|
|
Powered by
FUDForum. Page generated in 0.05472 seconds