diff --git a/projectapi/apichanges.xml b/projectapi/apichanges.xml --- a/projectapi/apichanges.xml +++ b/projectapi/apichanges.xml @@ -108,6 +108,27 @@ + + + Changed LookupProvider.Registration.ProjectType.position default value + + + + +

+ Behavioral change is that recompiled services with no explicit position will now be at 0 rather than MAX_VALUE, + meaning they will be ahead of rather than behind services with an explicit positive value. +

+
+ +

+ Changed the default value of the LookupProvider.Registration.ProjectType.position + to allow clients to order provided project Lookups. +

+
+ + +
Added LookupProviderSupport.createActionProviderMerger factory method diff --git a/projectapi/src/org/netbeans/spi/project/LookupProvider.java b/projectapi/src/org/netbeans/spi/project/LookupProvider.java --- a/projectapi/src/org/netbeans/spi/project/LookupProvider.java +++ b/projectapi/src/org/netbeans/spi/project/LookupProvider.java @@ -109,7 +109,7 @@ /** * Optional ordering. */ - int position() default Integer.MAX_VALUE; + int position() default 0; } }