ShadowProjectTree¶
-
public class
ShadowProjectTree
¶ A copy of the tree of ProjectTreeNode that can be safely accessed from another thread.
Normally ProjectTreeNode objects can only be accessed during the callbacks on the SessionListener. This class creates a shadow copy of the tree that can be accessed at any time. The basic idea is that Updates to the tree are recorded in the background thread during the callbacks on the SessionListener. These updates are then consumed by the other thread when it has the oppurtunity to do so.