Re: Libraries API

Petr Kuzel <[email protected]> Thu, 29 May 2003 20:22:07 +0200
Newsgroups gmane.comp.java.netbeans.modules.projects.devel
Organization CollabNet Hosting
Message-ID <[email protected]>
Svata Dedic wrote:

>>>A related question: in project resource system, a resource may be
>>>decorated by additional content types by independent modules (if they
>>>e.g. can convert the original type to their own). Is such data reuse
>>>supported in Libraries ?
>> 
>> You talk too abstract, sorry. I would appreciate an example.

[snip]

> In project resources, it is possible that JavaDoc module adds an
> Environment Provider and decorate resources that already has
> "JAVA_CLASSES" content type with another content type "DOCUMENTATION" if
> it knows where the relevant doc lies. In theory, it can also add its
> service to the JAR's Lookup content.
> 
> The net effect is, that the client, for example an action in the menu
> can query the object _itself_ to provide documentation for it. The
> object's implementation does not know such service (and data), but the
> service can be provided by NetBeans extensibility interface.

So it's about the NetBeans extensibility interface features.
It (registered providers) could decide according to project resource
lookup content. Just guess, I do not know the NetBeans extensibility
interface, I hear the term for the first time. Do you mean 
the classification framework Petr Jiricka described together
with its aspects API proposed by Yarda? Anyway I do not see
difference between extending a Jar library resource and an external
library resource.

  Cc.