View Full Version : SelectionChangedListener for tree performance

24 Jun 2009, 7:40 AM
Having multiple trees in my app, I am wondering, would it be better (from performance point of view) to have a single SelectionChangedListener class attached to all selection models of all trees, instead of having inline listeners for each one ?

Also if it does improve performance/speed, how could you know (cheaply) which tree's selection model has triggered the event ?