Bug 163345 [Field Assist] - API - Deprecate DecoratedField and related classes
If ControlDecoration is adopted in replacement of DecoratedField by all existing SDK clients, then we should deprecate DecoratedField.
bundles/org.eclipse.jface/src/org/eclipse/jface/fieldassist/DecoratedField.java
label = decDatas[i].label;
			formData = decDatas[i].data;
			decDatas[i].decoration = decoration;
			decDatas[i].showOnFocus = showOnFocus;
		}
		label.setImage(decDatas[i].decoration.getImage());
		label.setData(decDatas[i]);
		label.setLayoutData(formData);
		label.setVisible(!showOnFocus);
		
		
		updateControlAttachments(i, decDatas[i]);
	}
	/*
	 * A decoration at the specified index has been added. Update the control's
	 * attachments if it has not previously been attached on that side or if it
	 * was attached to a decoration with a lesser width.
	 */
	private void updateControlAttachments(int index, FieldDecorationData decData) {
		FormData formData = (FormData) control.getLayoutData();
		int newWidth = widthOf(decData.decoration.getImage());
		
		
		int opposing;
		switch (index) {
		case LEFT_TOP:
		case LEFT_BOTTOM:
			if (index == LEFT_TOP) {
				opposing = LEFT_BOTTOM;
			} else {