Caching these is a problem when it comes to reusing them when eventually
opening property panels for several different objects at the same time.
I am not sure but I guess the gain is small so if there is any complexity
involved in managing the cache, I suggest we drop it and let the
constructors and garbage collector take care of this.
/Linus
2008/5/2, Bob Tarling <[EMAIL PROTECTED]>:
>
> TabProps has a factory to create the propertypanels for model elements
> and for each keeps it creates it caches it so that we reuse the same
> instance next time around.
>
> Is it really worth our caching these?
>
> Do we really expect we are going to get some performance by not
> allowing these to be garbage collected even though we will have to
> rebuild the list model etc of each one when it is redisplayed anyway.
>
> Bob.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>