Hi Miriam,

    For the Rendering Tree there's not a specific event for adding a
DataEntity. However, you can keep a counter in your observer class and
check if the number of DataEntities has increased.

Best regards,
Xavi

2012/7/31 Ana Maria Quintero Padron <[email protected]>:
> Thank you Xavi,
>
> I have been testing both:
>
> 1.- DataEntityList::AddObserverOnAddDataEntity()
>      DataEntityList::AddObserverOnRemoveDataEntity()
>
> 2.- AddObserverOnModified()
>
> Both works perfect, but, the fact is that I need to observer changes in the 
> rendering tree, after the data is rendered, but only on adding a new Data 
> Entity, to achieve a more efficient code, because I do something just in case 
> is a new data entity otherwise I do nothing.
>
> Is possible to observe changes only in case I add a new Data Entity and after 
> the data is rendered? Some like 
> GetRenderingTree()->AddObserverOnAddDataEntity()
>
> Thank you very much.
>
> MIRIAM
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to