I think you are saying the same thing:
a) I think you can just listen to the EMF notifications  
b) a deep adaptor is how I think it does that (your listener is called an 
"adaptor" which is added to the Map and gets all notifications; you then check 
the notifications and only respond to the ones that relate to the Legend List)

I hope I have not made things worse with the above answer; I don't have the 
code in front of me :(  

--  
Jody Garnett


On Tuesday, 28 February 2012 at 1:25 PM, Nazareno Chan wrote:

> Hi Guys,
>   
> With regards to the new LegendView change: 
> http://udig.refractions.net/confluence/display/UDIG/Legend+View
>   
> Im trying to get to listen to changes on the LegendItems list 
> (map.getLegend()), like how a map’s deep adapter or map composition listener 
> does.  
> Should these listeners’ setup be customized and added to the map?  
> Or should these be readily available considering that they are EMF objects?
>  
>   
> J
>   
> Thanks,
> Naz Chan
>   
>  
>   ________________________________    
> The contents of this email are confidential and may be subject to legal or 
> professional privilege and copyright. No representation is made that this 
> email is free of viruses or other defects. If you have received this 
> communication in error, you may not copy or distribute any part of it or 
> otherwise disclose its contents to anyone. Please advise the sender of your 
> incorrect receipt of this correspondence.
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>  
>  


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to