To support Find usages in Dependencies, the new scopes need a way to display information.
When a ScopeProvider should be displayed, it returns true from the initialize method, but if it will not work or work as expected the ScopeProvider can return a Problem. Added the method getProblem() to ScopeProvider and getScopeProvider() to ScopePanel.
Please review the apichange on the find-in-dependencies branch.
No objections so far. I'd like to integrate tomorrow.
Fixed in jet-main 3384f2391053 & aef84a95afe9
Integrated into 'main-silver', will be available in build *201506300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Ralph Benjamin Ruijs <firstname.lastname@example.org>
Log: #252995 - Let ScopeProvider report a Problem