This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 213786

Summary: Support LayerProvider in NetBeansInOSGi
Product: platform Reporter: Jesse Glick <jglick>
Component: NetigsoAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 198508, 210325    

Description Jesse Glick 2012-06-07 23:40:47 UTC
For NetBeans modules converted to OSGi bundles, it would be appropriate to support LayerProvider. Not implementing for now since it is not yet used outside of ergonomics.

OSGiRepository.SFS should maintain and listen to a Lookup.Result<LayerProvider>. Could simply recreate all the layers in resetAll, or for efficiency could use this.fss to track unchanged ones. Changes in the L.R, or calls to overridden refreshAdditionalLayers, should recalculate list.

OSGiRepositoryTest could have a test with a bundle with a LP registered whose ModuleInstall checks content of SFS, calls rAL (after changing some flag in the LP), then checks content again.
Comment 1 Jaroslav Tulach 2014-05-26 06:29:14 UTC
No plans to work on this any time soon.