Bug 112337 [Forms] ColumnLayoutData javadoc for CENTER and RIGHT constants are interchanged
Very simple "bug". The javadoc for CENTER and RIGHT constants of the org.eclipse.ui.forms.widgets.ColumnLayoutData class are exchanged. Change this: /** * Horizontal alignment constant - control will be aligned to the right. */ public static final int CENTER = 2; /** * Horizontal alignment constant - control will be centered. */ public static final int RIGHT = 3; to this: /** * Horizontal alignment constant - control will be centered. */ public static final int CENTER = 2; /** * Horizontal alignment constant - control will be aligned to the right. */ public static final int RIGHT = 3; and all is fine :-)
bundles/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/ColumnLayoutData.java
public int horizontalAlignment = FILL;
	/**
	 * Convinience constructor for the class.
	 * 
	 * @param wHint
	 *            width hint for the control
	 * @param hHint
	 *            height hint for the control
	 */
	public ColumnLayoutData(int wHint, int hHint) {
		this.widthHint = wHint;
		this.heightHint = hHint;
	}
	/**
	 * Convinience constructor for the class.
	 * 
	 * @param wHint
	 *            width hint for the control
	 */
	public ColumnLayoutData(int wHint) {
		this.widthHint = wHint;
	}
	/**
	 * The default constructor.
	 *  
	 */
	public ColumnLayoutData() {
	}
}