Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 268985

Summary: Pick one API scope and use it
Product: [Eclipse Project] PDE Reporter: Michael Rennie <Michael_Rennie>
Component: API ToolsAssignee: Michael Rennie <Michael_Rennie>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.5Flags: Olivier_Thomann: review+
Target Milestone: 3.6 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
fix none

Description Michael Rennie CLA 2009-03-17 10:38:07 EDT
We have two API scopes in our tooling, both of them used to prune down the IApiElements to inspect (for some purpose). We should just turn the two classes into one and use that globally as our scope.

the interfaces in question are:

1. org.eclipse.pde.api.tools.internal.provisional.model.IApiScope
2. org.eclipse.pde.api.tools.internal.provisional.search.IApiSearchScope
Comment 1 Michael Rennie CLA 2009-08-07 10:29:38 EDT
Created attachment 143775 [details]
fix

While adding support for reporting unresolved references in a use report, I thought I would take a second to fix this...
Comment 2 Michael Rennie CLA 2009-08-07 15:20:44 EDT
The fix for this bug is also included in the patch for bug 279286 due to overlapping code changes.
Comment 3 Michael Rennie CLA 2009-08-12 14:01:15 EDT
applied fix with patch for 279286, please verify Olivier
Comment 4 Olivier Thomann CLA 2009-09-18 09:31:47 EDT
Verified using I20090915-0100