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
Table folderNames;
    String patternString;
    IContainer container;
    int typeMask;
    static Collator collator = Collator.getInstance();
    boolean gatherResourcesDynamically = true;
    StringMatcher stringMatcher;
    UpdateFilterThread updateFilterThread;
    UpdateGatherThread updateGatherThread;
    ResourceDescriptor[] descriptors;
    int descriptorsSize;
    WorkbenchLabelProvider labelProvider = new WorkbenchLabelProvider();
    
    boolean okEnabled = false;
    private boolean showDerived = false;
    private Button showDerivedButton;
    private boolean allowUserToToggleDerived;
    
    private Point initialLocation;
    
    private Point initialSize;
    static class ResourceDescriptor implements Comparable {
        String label;
        ArrayList resources = new ArrayList();
        boolean resourcesSorted = true;
        public int compareTo(Object o) {
            return collator.compare(label, ((ResourceDescriptor) o).label);
        }
    }
    class UpdateFilterThread extends Thread {