Bug 213786 - Support LayerProvider in NetBeansInOSGi
Support LayerProvider in NetBeansInOSGi
Status: NEW
Product: platform
Classification: Unclassified
Component: Netigso
7.2
All All
: P3 (vote)
: TBD
Assigned To: Jaroslav Tulach
issues@platform
:
Depends on:
Blocks: 198508 210325
  Show dependency treegraph
 
Reported: 2012-06-07 23:40 UTC by Jesse Glick
Modified: 2012-11-26 15:06 UTC (History)
0 users

See Also:
Issue Type: TASK
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo