Hi,
see below...
2013/7/21 Emre Taspolatoglu <
emreta...@gmail.com>:
> Hi there,
>
> I will like to ask a second question regarding another data binding case.
> This time it is between the Eclipse's Properties View and the EMF Profiles
> View.
>
> As far as I know, EMF Profiles has nothing directly to do with how
> Properties View listens and gets the properties of the selected property
> source, such as a the Stereotype chosen in EMF Profiles View, right? After
> the selection, the Properties View delivers the defined attributes and
> tagged values of the Stereotype; beside Extension, Applied To and Profile
> Application.
>
> My main question would be about the method getTaggesValues() of the
> Stereotype. I believe, that this is the method to get the values of defined
> Stereotype attributes? If not, I might have to take another look into the
> EMF Profiles models/codes. Because a few time ago as I was trying to
> integrate the tabbed properties view support into EMF Profiles View, I have
> come against a little problem, which was that only Extension, Applied To and
> Profile Application features of a selected Stereotype was schown in the
> tabbed properties view, but some how I couldn't managed to get to the by
> user defined stereotype attributes and their tagged values.
It would be great to have the tabbed properties view integrated with
EMF Profiles! Thanks!
The features you mentioned (extension, appliedTo) are those from the
automatically added superclass 'StereotypeApplication'. You want to
have those from the "real" stereotype. When you step through your code
and execute eObject.eClass() on the stereotypeapplication object, what
do you get returned? Did you try
eObject.eClass().getEAllStructuralFeatures()?
You can push your code to a google code clone of the EMF Profiles
Google code project or on github [1] if you prefer and I can have a
look at it.
Best wishes,
Philip
[1]
https://github.com/planger/emf-profiles
>>
emf-profiles...@googlegroups.com.
> --
> You received this message because you are subscribed to the Google Groups
> "EMF Profiles" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
emf-profiles...@googlegroups.com.