Bug 161848 [JFace] Javadoc quality in org.eclipse.jface
As Tod announced on the platform-ui mailing list he wants to set the compiler settings to stricter mode so to ensure the javadoc quality. Because the weather was so lousy in Austria today I tried it and took the effort (~2 hours). I'll attach the patches package wise. This is a starting point.
bundles/org.eclipse.jface/src/org/eclipse/jface/util/OpenStrategy.java
* Usage:
 * <pre>
 *	OpenStrategy handler = new OpenStrategy(control);
 *	handler.addOpenListener(new IOpenEventListener() {
 *		public void handleOpen(SelectionEvent e) {
 *			... // code to handle the open event.
 *		}
 *	});
 * </pre>
 * </p>
 */
public class OpenStrategy {
    /** 
     * Default behavior. Double click to open the item.
     */
    public static final int DOUBLE_CLICK = 0;
    /** 
     * Single click will open the item.
     */
    public static final int SINGLE_CLICK = 1;
    /** 
     * Hover will select the item.
     */
    public static final int SELECT_ON_HOVER = 1 << 1;
    /**
     * Open item when using arrow keys
     */
    public static final int ARROW_KEYS_OPEN = 1 << 2;
    /** A single click will generate
     * an open event but key arrows will not do anything.