>> Single-sofa code could be made to work using the same "current view" >> idea already discussed. But multi-sofa code will have a problem. >> >> So I think we need to deprecate addToIndexes(). > Not sure about this - because the "current view" mechanism would > seem to make this work, even for multi-sofa. We could even put in > code that checked if the item being indexed was a subtype of > AnnotationBase, > and if so, indexed it in the proper view (if the current view had a Sofa > but it > was the "wrong" one).
Single Sofa code would work for addToIndexes() by always adding to the index of the initial view. I don't see any way that this method signature can know which other view to use in a multi-Sofa situation. Eddie