Bug 26109 [Dialogs] Need a FormData version of the button sizing API
The button sizing API in Dialog assumes the developer wants a GridData. We should promote the FormData version in PathVariablesDialog to Dialog.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
return getButton(IDialogConstants.CANCEL_ID);
}
/**
 * Returns the dialog area control.
 * <p>
 * Clients may call this framework method, but should not override it.
 * </p>
 *
 * @return the dialog area, or <code>null</code> if
 *   the dialog area has not been created yet
 */
protected Control getDialogArea() {
	return dialogArea;
}
/**
 * Returns the standard dialog image with the given key.
 * Note that these images are managed by the dialog framework, 
 * and must not be disposed by another party.
 *
 * @param key one of the <code>Dialog.DLG_IMG_* </code> constants
 * @return the standard dialog image
 */
public static Image getImage(String key) {
	return JFaceResources.getImageRegistry().get(key);
}
/**
 * Returns the button created when <code>createButton</code> is called 
 * with an ID of <code>IDialogConstants.OK_ID</code>.  If <code>createButton</code> 
 * was never called with this parameter, or if <code>createButton</code> is 
 * overridden, <code>getOKButton</code> will return <code>null</code>.