Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/viewers/UpdatableTreeContentProvider.java
import org.eclipse.jface.viewers.Viewer;
public final class UpdatableTreeContentProvider implements ITreeContentProvider {
    private ITreeProvider treeProvider;
    
    private Map mapElementToValueTreeNode = new HashMap();
    private TreeViewer treeViewer;
    private ArrayList dirtyListeners = new ArrayList();
    
    private int dirtyCount;
    
    
    
    
    
    
    
    
    private int avoidViewerUpdates = 0;
    private ITreeViewerListener expandListener = new ITreeViewerListener() {
        public void treeCollapsed(TreeExpansionEvent event) {
        }
        public void treeExpanded(TreeExpansionEvent event) {
            ValueTreeNode node = (ValueTreeNode) mapElementToValueTreeNode.get(event.getElement());
            if (node == null) {
                return;
            }
            node.expanded();
        }
    };
    private class KnownElementsSet extends AbstractUpdatableSet {