Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/swt/SWTUpdatableFactory.java
} else if (description instanceof Button) {
			int updatePolicy = new int[]{SWT.Modify,SWT.FocusOut,SWT.None}[updateTime];
			return new ButtonUpdatableValue((Button) description,
					updatePolicy);
		} else if (description instanceof Label) {
			return new LabelUpdatableValue((Label) description);
		} else if (description instanceof Combo) {
			return new ComboUpdatableCollection((Combo) description,
					ViewersProperties.CONTENT);
		} else if (description instanceof Spinner) {
			return new SpinnerUpdatableValue((Spinner) description,
					SWTProperties.SELECTION);
		} else if (description instanceof CCombo) {
			return new CComboUpdatableCollection((CCombo) description,
					ViewersProperties.CONTENT);
		} else if (description instanceof List) {
			return new ListUpdatableCollection((List) description,
					ViewersProperties.CONTENT);
		}
		return null;
	}
	/**
	 * @param time.  Values are TIME_EARLY or TIME_LATE and specify when update occurs
	 * 				 For example TIME_EARLY on Text control and update occurs per keystroke,
	 * 				 TIME_LATE and validation occurs when the field loses focus
	 */
	public void setUpdateTime(int time) {
		updateTime = time;
	}
}