Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/internal/databinding/TreeBinding.java
}
	
	private boolean failure(String errorMessage) {
		if (errorMessage != null) {
			return true;
		}
		return false;
	}
	
	/**
	 * Copy model's root elements into the target
	 * It is up to the target to fire a Virtual request event to get
	 * the rest of the children
	 */
	public void updateTargetFromModel(ChangeEvent changeEvent) {
		copyRootContents(target, model);
	}
	private void copyRootContents(IUpdatableTree destination,
			IUpdatableTree source) {
		try {
			updating ++;
			BindingEvent bindingEvent = new BindingEvent(null, BindingEvent.PIPELINE_AFTER_CHANGE, BindingEvent.PIPELINE_AFTER_GET);
			bindingEvent.originalValue = source.getElements(null);
			destination.setElements(null, (Object[]) bindingEvent.originalValue);
			fireBindingEvent(bindingEvent);
		} finally {
			updating --;
		}
	}
}