Bug 33550 [Dialogs] Dialog should support remembering size and position
There are several dialogs that remember its size and position. Since restore the size and considering screen size and font changes isn't trivial JFace's Dialog class should support remembering and restoring size and position. These would realy ease the task for subclasses. May be you can steel the code from OpenTypeSelectionDialog.
bundles/org.eclipse.jface/src/org/eclipse/jface/dialogs/Dialog.java
/**
     * Returns the button created by the method <code>createButton</code> for
     * the specified ID as defined on <code>IDialogConstants</code>. If
     * <code>createButton</code> was never called with this ID, or if
     * <code>createButton</code> is overridden, this method will return
     * <code>null</code>.
     * 
     * @param id the id of the button to look for
     * 
     * @return the button for the ID or <code>null</code>
     * 
     * @see #createButton(Composite, int, String, boolean)
     * @since 2.0
     */
    protected Button getButton(int id) {
        return (Button) buttons.get(new Integer(id));
    }
    /**
     * Returns the button bar control.
     * <p>
     * Clients may call this framework method, but should not override it.
     * </p>
     * 
     * @return the button bar, or <code>null</code> if the button bar has not
     *         been created yet
     */
    protected Control getButtonBar() {
        return buttonBar;
    }
    /**