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
* of the folder names list.
     * 
     * @desc resource descriptor of the selected resource
     */
    private void updateFolders(final ResourceDescriptor desc) {
        BusyIndicator.showWhile(getShell().getDisplay(), new Runnable() {
            public void run() {
                if (!desc.resourcesSorted) {
                    
                    Collections.sort(desc.resources, new Comparator() {
                        public int compare(Object o1, Object o2) {
                            String s1 = getParentLabel((IResource) o1);
                            String s2 = getParentLabel((IResource) o2);
                            return collator.compare(s1, s2);
                        }
                    });
                    desc.resourcesSorted = true;
                }
                folderNames.removeAll();
                for (int i = 0; i < desc.resources.size(); i++) {
                    TableItem newItem = new TableItem(folderNames, SWT.NONE);
                    IResource r = (IResource) desc.resources.get(i);
                    newItem.setText(getParentLabel(r));
                    newItem.setImage(getParentImage(r));
                    newItem.setData(r);
                }
                folderNames.setSelection(0);
            }
        });
    }