Bug 105665 [Dialogs] "Open resource" dialog doesnt remember it position and size
really annoying thing, especially when you're working with 2 monitors. "Open resource" dialog (CTRL-R) should not to forget position and size after closing it. "Open type" dialog (CTRL-T) is working correcly.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
*/
    public boolean close() {
        boolean result = super.close();
        labelProvider.dispose();
        return result;
    }
    /**
     * @see org.eclipse.jface.window.Window#create()
     */
    public void create() {
        super.create();
        pattern.setFocus();
        getButton(IDialogConstants.OK_ID).setEnabled(okEnabled);
    }
    /**
     * Creates the contents of this dialog, initializes the
     * listener and the update thread.
     * 
     * @param parent parent to create the dialog widgets in
     */
    protected Control createDialogArea(Composite parent) {
        Composite dialogArea = (Composite) super.createDialogArea(parent);
        Label l = new Label(dialogArea, SWT.NONE);
        l.setText(IDEWorkbenchMessages.ResourceSelectionDialog_label);
        GridData data = new GridData(GridData.FILL_HORIZONTAL);
        l.setLayoutData(data);
        pattern = new Text(dialogArea, SWT.SINGLE | SWT.BORDER);
        pattern.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
        l = new Label(dialogArea, SWT.NONE);
        l.setText(IDEWorkbenchMessages.ResourceSelectionDialog_matching);