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.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
currentResource = (IResource) current.resources.get(0);
                    }
                }
                descriptorsSize = index + 1;
            }
        });
    }
    /**
     * Returns true if the label matches the chosen pattern.
     * 
     * @param label label to match with the current pattern
     * @return true if the label matches the chosen pattern. 
     * 	false otherwise.
     */
    private boolean match(String label) {
        if ((patternString == null)
                || (patternString.equals("")) || (patternString.equals("*")))
            return true;
        return stringMatcher.match(label);
    }
    /**
     * The user has selected a resource and the dialog is closing.
     * Set the selected resource as the dialog result.
     */
    protected void okPressed() {
        TableItem items[] = folderNames.getSelection();
        if (items.length == 1) {
            ArrayList result = new ArrayList();
            result.add(items[0].getData());
            setResult(result);