Bug 124090

Summary: Take advantage of IAccessRule#IGNORE_IF_BETTER
Product: [Eclipse Project] PDE Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.2 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Lanneluc CLA 2006-01-17 04:38:10 EST
I20060117

Build I20060117 will contain a new flag IAccessRule#IGNORE_IF_BETTER that indicates that the rule should be ignored if a better rule is found.
E.g. if a rule K_NON_ACCESSIBLE | IGNORE_IF_BETTER matches type p.X
and a rule K_DISCOURAGED that also matches p.X is found after the first 
one, then p.X will be reported as discouraged.

PDE UI should take advantage of this flag to avoid unwanted access restriction errors as reported in bug 98127.
Comment 1 Wassim Melhem CLA 2006-01-23 18:56:59 EST
done.  thanks.