[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] Re: [CDO] How can I get information on new objects in a view
|
Simon,
>> Is there any way of doing a similar thing for new objects in the view
>> so that I can call an initialize() method?
>
> The group of objects you receive from CDOViewInvalidationEvent is
> really specific to your view. You will ONLY the list of detachedobject
> for objects that you have in your view. Others will not be there.
>
> Applying the same result for new objects....you will never receive
> such things.
That depends, doesn't it?
If an object O is in my view, I would see 'new' objects if references
are added to a feature of O. E.g., if a resource is part of my view, an
addition to resource.getContents() would cause an event, wouldn't it?
Stefan