Bug 38085 [IDE] Open Resource shows files in build directory as well as source directories
In a Java project, I have a Source and a Build directory. When I use the Open Resource menu to look at a non-Java file, the Open Resource window shows me both the copy in the Source directory(s) and also the one in the Build directory. I think the Build directory source should be filtered out, since it is more natural to want to edit the one in the Source directory(s) -- otherwise changes may be overwritten with the next edit to the Source file. Clearly when the source and build directories are the same then the result should not be filtered, but it should be filtered from the build directory when they are different.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/dialogs/ResourceListSelectionDialog.java
}
        super.okPressed();
    }
    /**
     * Use this method to further filter resources.  As resources are gathered,
     * if a resource matches the current pattern string, this method will be called.
     * If this method answers false, the resource will not be included in the list
     * of matches and the resource's children will NOT be considered for matching.
     */
    protected boolean select(IResource resource) {
        return true;
    }
    /**
     * The text in the pattern text entry has changed.
     * Create a new string matcher and start a new update tread.
     */
    private void textChanged() {
        if (gatherResourcesDynamically) {
            gatherResources();
        } else {
            filterResources();
        }
    }
    /**
     * A new resource has been selected. Change the contents
     * of the folder names list.
     * 
     * @desc resource descriptor of the selected resource
     */
    private void updateFolders(final ResourceDescriptor desc) {