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
updateFolders(desc);
            }
        }
        updateOKState(true);
    }
    
    /**
     * Update the enabled state of the OK button.  To be called when
     * the resource list is updated.
     * @param state the new enabled state of the button
     */
    protected void updateOKState(boolean state) {
    	Button okButton = getButton(IDialogConstants.OK_ID);
    	if(okButton != null && !okButton.isDisposed() && state != okEnabled) {
    		okButton.setEnabled(state);
    		okEnabled = state;
    	}
    }
    
    /* (non-Javadoc)
     * @see org.eclipse.jface.window.Window#getInitialLocation(org.eclipse.swt.graphics.Point)
     * 
     * @since 3.2
     */
	protected Point getInitialLocation(Point initialSize) {
		
		Point result= super.getInitialLocation(initialSize);
		if (initialLocation != null) {
			result.x = initialLocation.x;
			result.y = initialLocation.y;