|
org.netbeans.modules.project.libraries/1 1.29.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
librariesto be registered and persisted.
See:
Description
External Libraries | |
---|---|
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.
API review of Sharable Libraries requested using URI for relative paths instead of URL.
Added LibraryCustomizerContext
class to provide richer
context to libraries customizer.
There is a new API and SPI for project libraries
(or, more generally, libraries with specific storage locations).
ArealLibraryProvider
,
and LibraryStorageArea
are new, as are methods
Library.getManager
,
Library.getRawContent(String)
LibraryManager.getDisplayName
,
LibraryManager.getLocation
,
LibraryManager.createLibrary
,
LibraryManager.forLocation
, and
LibraryManager.getOpenManagers
.
(LibraryProvider
was also generified.)
LibrariesSupport
has few additional helper methods.
There's also new methods and classes for UI customizations of Libraries, eg.
LibrariesCustomizer.showCreateNewLibraryCustomizer(LibraryManager)
,
LibrariesCustomizer.showCustomizer(Library, LibraryManager)
,
LibrariesCustomizer.showSingleLibraryCustomizer(Library)
,
and LibraryChooser
class.
LibraryTypeProvider.getCustomizer() can return null for some volume types.
Added method for adding and removing a new library into/from the library manager. Added a factory class for creating Library (API object) form LibraryImplementation (SPI object). Added a support methods for listing installed LibraryTypeProviders.
To indicate that this is now considered a stable API, the major release version was incremented to 1 from 0.
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.
|
org.netbeans.modules.project.libraries/1 1.29.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |