how can i create an Instance of EList<Eobject>? [message #500160] |
Wed, 25 November 2009 03:48  |
Eclipse User |
|
|
|
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 05:11] by Moderator
|
|
|
|
|
|
Re: how can i create an Instance of EList<Eobject>? [message #500313 is a reply to message #500295] |
Wed, 25 November 2009 10:50  |
Eclipse User |
|
|
|
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
|
|
|
Re: how can i create an Instance of EList<Eobject>? [message #621612 is a reply to message #500207] |
Wed, 25 November 2009 10:40  |
Eclipse User |
|
|
|
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?
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?
Thank you
|
|
|
Re: how can i create an Instance of EList<Eobject>? [message #621613 is a reply to message #621612] |
Wed, 25 November 2009 10:50  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.04403 seconds