Package | Description |
---|---|
org.netbeans.api.project.libraries |
Representation of a library, and the ability to find the installed libraries.
|
org.netbeans.spi.project.libraries |
Modifier and Type | Method and Description |
---|---|
Library |
LibraryManager.createLibrary(String type,
String name,
Map<String,List<URL>> contents)
Creates a new library definition and adds it to the list.
|
Library |
LibraryManager.createURILibrary(String type,
String name,
Map<String,List<URI>> contents)
Creates a new library definition and adds it to the list.
|
Library[] |
LibraryManager.getLibraries()
Lists all libraries defined in this manager.
|
Library |
LibraryManager.getLibrary(String name)
Returns library by its name.
|
Library |
LibraryChooser.LibraryImportHandler.importLibrary(Library library)
Implementation is expected to copy given global library to
sharable libraries location, that is to library manager the library
chooser was created for.
|
static Library |
LibrariesCustomizer.showCreateNewLibraryCustomizer(LibraryManager manager)
Show customizer for creating new library in the given library manager.
|
Modifier and Type | Method and Description |
---|---|
Set<Library> |
LibraryChooser.Panel.getSelectedLibraries()
Gets the set of libraries which are currently selected.
|
static Set<Library> |
LibraryChooser.showDialog(LibraryManager manager,
LibraryChooser.Filter filter,
LibraryChooser.LibraryImportHandler handler)
Create a chooser showing libraries from given library manager and let the
user to pick some.
|
Modifier and Type | Method and Description |
---|---|
boolean |
LibraryChooser.Filter.accept(Library library)
Accepts or rejects a library.
|
void |
LibraryManager.addLibrary(Library library)
Deprecated.
Use
LibraryManager.createLibrary(java.lang.String, java.lang.String, java.util.Map instead, as this properly supports local managers. |
Library |
LibraryChooser.LibraryImportHandler.importLibrary(Library library)
Implementation is expected to copy given global library to
sharable libraries location, that is to library manager the library
chooser was created for.
|
void |
LibraryManager.removeLibrary(Library library)
Removes installed library
|
static boolean |
LibrariesCustomizer.showCustomizer(Library activeLibrary)
Shows libraries customizer for global libraries.
|
static boolean |
LibrariesCustomizer.showCustomizer(Library activeLibrary,
LibraryManager libraryManager)
Shows libraries customizer for given library manager.
|
static boolean |
LibrariesCustomizer.showSingleLibraryCustomizer(Library library)
Show library customizer for the given library.
|
Modifier and Type | Method and Description |
---|---|
static Library |
LibraryFactory.createLibrary(LibraryImplementation libraryImplementation)
Creates Library for LibraryImplementation
|
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.