Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/viewers/UpdatableTreeContentProvider.java
}
                if (model.isStale()) {
                    setStale(node, true);
                }
            }
        }
        
        public void setStale(Object staleObject, boolean isStale) {
            if (isStale) {
                dirtyCount++;
                if (dirtyCount == 1) {
                	elements.doFireStale(true);
                }
            } else {
                dirtyCount--;
                if (dirtyCount == 0) {
                	elements.doFireStale(false);
                }
            }
            fireStale(node, isStale);
        }
        /**
         * Instructs this node to stop monitoring its child nodes
         */
        public void stopListening() {
            if (model != null) {
                if (childrenAddedToViewer) {
                	doRemove(model.toCollection());
                	childrenAddedToViewer = false;
                }