|
|
|
|
Re: Possible Children [message #900447 is a reply to message #900275] |
Tue, 07 August 2012 07:15 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
I think he wants something similar to ReflectiveItemProvider's
collectNewChildDescriptors. Likely just reusing it would be most direct.
On 06/08/2012 11:55 AM, Ed Willink wrote:
> Hi
>
> I've really no idea what you want.
>
> You think you know what you want, so you jump straight to a solution,
> and find that it doesn't work.
>
> I tried to encourage you to think clearly about the navigation that
> you are attempting to perform. Once you understand the model
> navigation steps that are needed, you may succeed in configuring your
> tooling to achieve it.
>
> Regards
>
> Ed Willink
>
>
> On 06/08/2012 10:42, Tex Iano wrote:
>> Ok, I did not describe pretty well what I am looking for.
>>
>> For example: I have selected a UML Package. Then within my menu I
>> want to have:
>>
>> - PackagedElement
>> -> Class
>> -> Interface
>> -> etc.
>>
>> - Profile Application
>>
>> and so on.
>>
>> So obviously I can use getEAllContainments for this right? Or should
>> I work using Features?
>>
>> When using getEAllContainments I get Profile Application, Packaged
>> Element etc. as references. Is this the right way? But then: How can
>> I get all Packaged Elements, i.e. Class Interface etc.?
>>
>> reference.eClass().getESuperTypes() does not return those.
>>
>> Regards,
>>
>> Tex
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04572 seconds