Community
Participate
Working Groups
JA says: I have noticed while using the version label annotations that getLabel() is called with very high frequency in the navigator. It seems like it might be doing excessive work. The VCM label decoration isn't too expensive, but when invoked frequently, it may contribute to general loss of responsiveness in the UI. For example, just changing the selection in the navigator asks for the labels again. Also, during notification phases, getLabel is called frequently. NOTES: NE (5/29/01 12:04:37 AM) Thanks, I'll take a look. It shouldn't be doing this just when the selection changes, unless one of the selection listeners on the viewer is interested. Actually, it might be the forward/back/up buttons updating their tooltips. But I'll investigate.
PRODUCT VERSION: 113
Tree viewer refreshes are not efficient. Should revisit.
Initial viewer population and refresh now only obtain the label at most once. Please let me know if you see otherwise. hasChildren can still get called twice, but this is harder to fix. In the case of VCM, hasChildren should return true if the element -can- contain children (i.e. if it represents a folder), and not do the work of going to the repository to see if it actually does have children.
*** Bug 1878 has been marked as a duplicate of this bug. ***