librariesto be registered and persisted.
See: Description
| Package | Description |
|---|---|
| org.netbeans.api.project.libraries |
Representation of a library, and the ability to find the installed libraries.
|
| org.netbeans.spi.project.libraries | |
| org.netbeans.spi.project.libraries.support |
ProjectLibrariesAPI
The Project Libraries API permits definitions of libraries
to be
registered and persisted. Library type providers may be registered and can
construct memory objects corresponding to persistent library definitions.
LibrariesSupport.getLibraryImplementationto obtain SPI for Library
Added LibrariesSupport.getLibraryImplementation into SPI support to obtain the SPI
for given Library. Needed to remove an implementation dependency among project.libraries and project.libraries.ui.
project.libraries into a new project.libraries.uimodule
Moved the UI part of the project.libraries into a new project.libraries.uimodule.
Added a new integration SPI and SPI support methods.
LibraryImplementation3
Added a new factory method to create default implementation of LibraryImplementation3.
Library with properties
Added new factory methods into LibraryManager to create a Library
with associated properties.
Added displayName property into the Library's SPI
allowing an implementor to provide the a display name of the Library
which differs from the system (identifying) name.
Different technology support modules will supply definitions of different kinds of libraries, e.g. Java JARs, that may be reused in user projects. Modules may register library predefinitions to wrap libraries they bundle. Project type providers can refer to available libraries in customizer dialogs.
|
|
Read more about the implementation in the answers to architecture questions.