Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/viewers/UpdatableTreeContentProvider.java
public boolean isDirty() {
            return model != null && model.isStale();
        }
		public Set getParents() {
			return parents;
		}
    }
    public UpdatableTreeContentProvider(ITreeProvider provider) {
        this.treeProvider = provider;
    }
    private void fireStale(Object node, boolean isStale) {
    	ChangeEvent event = new ChangeEvent(node, ChangeEvent.STALE, null, isStale ? Boolean.TRUE : Boolean.FALSE);
    	for (Iterator iter = dirtyListeners.iterator(); iter.hasNext();) {
			IChangeListener next = (IChangeListener) iter.next();
			
			try {
				next.handleChange(event);
			} catch (Exception e) {
				SWTUtil.logException(e);
			}
		}
	}
	/**
     * Returns the number of nodes that are currently dirty (that are currently
     * being fetched in a background thread).
     * 
     * @return the number of nodes that are currently dirty
     */
    public int getDirtyCount() {
        return dirtyCount;