Package | Description |
---|---|
org.netbeans.spi.project.libraries | |
org.netbeans.spi.project.libraries.support |
Modifier and Type | Interface and Description |
---|---|
interface |
LibraryImplementation2
Library enhancement allowing setting/getting library content as URI list.
|
interface |
LibraryImplementation3
LibraryImplementation extension allowing library to expose additional
properties.
|
interface |
NamedLibraryImplementation
LibraryImplementation extension allowing setting/getting display name.
|
Modifier and Type | Method and Description |
---|---|
LibraryImplementation |
LibraryTypeProvider.createLibrary()
Creates a new empty library implementation.
|
L[] |
LibraryProvider.getLibraries()
Returns libraries provided by the implemented provider.
|
Modifier and Type | Method and Description |
---|---|
static Library |
LibraryFactory.createLibrary(LibraryImplementation libraryImplementation)
Creates Library for LibraryImplementation
|
void |
LibraryTypeProvider.libraryCreated(LibraryImplementation libraryImpl)
This method is called by the libraries framework when the library was created
and fully initialized (all its properties have to be read).
|
void |
LibraryTypeProvider.libraryDeleted(LibraryImplementation libraryImpl)
This method is called by the libraries framework when the library was deleted.
|
Modifier and Type | Class and Description |
---|---|
class |
ForwardingLibraryImplementation
Forwarding
LibraryImplementation . |
Modifier and Type | Method and Description |
---|---|
static LibraryImplementation |
LibrariesSupport.createLibraryImplementation(String libraryType,
String[] volumeTypes)
Creates default LibraryImplementation
|
LibraryImplementation |
ForwardingLibraryImplementation.getDelegate()
Returns the delegate.
|
static LibraryImplementation |
LibrariesSupport.getLibraryImplementation(Library library)
Returns the
LibraryImplementation for given Library . |
Modifier and Type | Method and Description |
---|---|
static String |
LibrariesSupport.getDisplayName(LibraryImplementation impl)
Returns
LibraryImplementation display name. |
static String |
LibrariesSupport.getLocalizedName(LibraryImplementation impl)
Returns a localized (user friendly) name of the
LibraryImplementation . |
static Map<String,String> |
LibrariesSupport.getProperties(LibraryImplementation impl)
Returns
LibraryImplementation properties. |
static List<URI> |
LibrariesSupport.getURIContent(LibraryImplementation impl,
String volumeType,
LibrariesSupport.ConversionMode conversionMode)
Returns
LibraryImplementation URI content. |
static boolean |
LibrariesSupport.setDisplayName(LibraryImplementation impl,
String name)
Sets
LibraryImplementation display name. |
static boolean |
LibrariesSupport.setProperties(LibraryImplementation impl,
Map<String,String> props)
Sets
LibraryImplementation properties. |
static boolean |
LibrariesSupport.setURIContent(LibraryImplementation impl,
String volumeType,
List<URI> path,
LibrariesSupport.ConversionMode conversionMode)
Sets
LibraryImplementation URI content. |
static boolean |
LibrariesSupport.supportsDisplayName(LibraryImplementation impl)
Tests if given
LibraryImplementation supports display name. |
static boolean |
LibrariesSupport.supportsProperties(LibraryImplementation impl)
Tests if given
LibraryImplementation supports properties. |
static boolean |
LibrariesSupport.supportsURIContent(LibraryImplementation impl)
Tests if given
LibraryImplementation supports URI content. |
Constructor and Description |
---|
ForwardingLibraryImplementation(LibraryImplementation delegate)
Creates a new
ForwardingLibraryImplementation . |