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
/*******************************************************************************
 * Copyright (c) 2000, 2005 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.ui.forms.widgets;
import org.eclipse.swt.SWT;
/**
 * This class is used to store layout data for the <code>ColumnLayout</code>
 * class. You can control width and height hints, as well as horizontal
 * alignment using instances of this class. As with other layouts, they are not
 * required to get the default behaviour.
 * 
 * @see ColumnLayout
 * @since 3.0
 */
public final class ColumnLayoutData {
	/**