how can i create an Instance of EList<Eobject>? [message #500160] |
Wed, 25 November 2009 08:48 |
burkut Messages: 13 Registered: November 2009 |
Junior Member |
|
|
hallo,
i can always get the Return value of the Type Elist<Eobject>, but i could not create it in normal way (with new)? is there any other wy?
second Quetion:
how can i realize the Delegate Concept in EMF? is the eNotify( ) helpful in this mean? do you have any Experience about it?
Thank you
Burkut
[Updated on: Wed, 25 November 2009 10:11] Report message to a moderator
|
|
|
|
|
|
Re: how can i create an Instance of EList<Eobject>? [message #500313 is a reply to message #500295] |
Wed, 25 November 2009 15:50 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Burkut,
Comments below.
burkut wrote:
> Quote:
>> It's best to ask questions like this in the EMF newsgroup rather than
>> the EMFT one.
>
> am i wrong hier with my Topic?
It's not about right and wrong. You're asking questions about EMF's core
runtime, not about any of the EMFT components, and questions like that
are bertter better on the EMF newsgroup.
> f.e. in my Model there are many Graphs( there are only Nodes and
> Edges which have bidirektional containment Relationship). These
> Graphs have close Relationships each other. So separate one Graph from
> these Graphs and try to modify it. meanwhile i want to send other
> Graphs a change Message, so that let they know it was something
> changed hier.
>
> can i delegate this Message in EMF?
Yes, you can add an adapter to the eAdapters list of any
Notifier/EObject and then receive Notifications about all changes that
happen to that object.
>
> Thank you
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
Re: how can i create an Instance of EList<Eobject>? [message #621613 is a reply to message #621612] |
Wed, 25 November 2009 15:50 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Burkut,
Comments below.
burkut wrote:
> Quote:
>> It's best to ask questions like this in the EMF newsgroup rather than
>> the EMFT one.
>
> am i wrong hier with my Topic?
It's not about right and wrong. You're asking questions about EMF's core
runtime, not about any of the EMFT components, and questions like that
are bertter better on the EMF newsgroup.
> f.e. in my Model there are many Graphs( there are only Nodes and
> Edges which have bidirektional containment Relationship). These
> Graphs have close Relationships each other. So separate one Graph from
> these Graphs and try to modify it. meanwhile i want to send other
> Graphs a change Message, so that let they know it was something
> changed hier.
>
> can i delegate this Message in EMF?
Yes, you can add an adapter to the eAdapters list of any
Notifier/EObject and then receive Notifications about all changes that
happen to that object.
>
> Thank you
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02242 seconds