Bug 126839 [DataBinding] IObservable refactoring
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/beans/JavaBeanUpdatableTree.java
}
	public void setElements(Object parentElement, Object[] values) {
		updating = true;
		try {
			Object[] list = tree.getChildren(parentElement);			
			tree.setChildren(parentElement, values);			
			fireChangeEvent(ChangeEvent.REPLACE, list, values, parentElement, -1);
		} finally {
			updating = false;
		}
		
	}
	public Object getElement(Object parentElement, int index) {
		Object[] list = tree.getChildren(parentElement);
		if (list==null || index<0 || index>=list.length) {
			return null;
		}
		
		return list[index];
	}
	public Object[] getElements(Object parentElement) {
		return tree.getChildren(parentElement);		
	}	
	public void dispose() {
		super.dispose();
		tree.removeTreeChangeListener(treeListener);
		tree.dispose();
	}
}