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
*/
    private int getFirstMatch() {
        int high = descriptorsSize;
        int low = -1;
        boolean match = false;
        ResourceDescriptor desc = new ResourceDescriptor();
        desc.label = patternString.substring(0, patternString.length() - 1);
        while (high - low > 1) {
            int index = (high + low) / 2;
            String label = descriptors[index].label;
            if (match(label)) {
                high = index;
                match = true;
            } else {
                int compare = descriptors[index].compareTo(desc);
                if (compare == -1) {
                    low = index;
                } else {
                    high = index;
                }
            }
        }
        if (match)
            return high;
        else
            return -1;
    }
    /**
     */
    private void gatherResources(boolean force) {