Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Dsf Model Delta Question



I am seeing a strange behavior with the model delta and I am not sure whether I am doing the right thing or not.


Here is my problem: I expand some elements and scroll to the middle of the view, so some of the parent nodes are hidden.  Generating IModelDelta.CONTENT on the parent nodes doesn’t update the children.


To be exact, this is what the tree looks like:


+ parent

+ Root 1

+ Root 2

+ Root 3

- Root 4

+ Node1

 - Node2






                                + Node3


When Sub_Node50 to Sub_Node60 is visible and Node1 to Node3 is not longer valid in the model, and  generating a IModelDelta.CONTENT for parent (nor Root1 to Root4)  does not remove Sub_Node1 to Sub_Node60 until I scroll to Root4.


I was able to work around this by sending IModelDelta.CONTENT | IModelDelta.COLLAPSE , is this the right thing to do? Or perhaps there is a bug somewhere between platform and DSF?




Back to the top