Re: Libraries API
Petr Kuzel <[email protected]> Thu, 29 May 2003 21:17:16 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.projects.devel |
|---|---|
| Organization | CollabNet Hosting |
| Message-ID | <[email protected]> |
Petr Kuzel wrote: > Svata Dedic wrote: > >> Is it possible for a VolumeProvider to just add something to the library >> 's Lookup content even if the Provider does not have its own content in >> the library ? In the example, the doc Provider knows something, but that >> knowledge may not be necessarily stored in the library. > > Secondary/derived content volume providers are allowed. Code > completion databases are the case. Provider gets private space > (folder&context) where to store its data. Such provider should > mark itself as 'hidden' or provide own customizer with e,g, > status and explicit refresh buttons. Looking at <http://www.netbeans.org/download/prj40_prototype/javadoc/projects-core_api/org/netbeans/spi/projects/ProjectEnvironmentProvider.html> I see some overlap. In particular case it's probably better to enhance both jar library and external library resource using one implementation of ProjectEnvironmentProvider. I'll think about it and possibly remove this feature from the library framework by hidding from volume providers all unrelated library content (including results of other volume providers' work). The feature has only one advantage over ProjectEnvironmentProvider, it provides the storage coupled with library definition. It can be replaced by secondary storage coupled with ProjectMember. It could be implementable. What do you think? Cc.