| |
|
| java.lang.Object org.netbeans.api.project.libraries.LibraryManager
LibraryManager | final public class LibraryManager (Code) | | LibraryManager provides registry of the installed libraries.
LibraryManager can be used to list all installed libraries or to
query library by its system name.
|
PROP_LIBRARIES | final public static String PROP_LIBRARIES(Code) | | Property fired when the set of libraries changes.
|
PROP_OPEN_LIBRARY_MANAGERS | final public static String PROP_OPEN_LIBRARY_MANAGERS(Code) | | Property fired when list of open library managers changes.
|
addOpenManagersPropertyChangeListener | public static synchronized void addOpenManagersPropertyChangeListener(PropertyChangeListener listener)(Code) | | Adds PropertyChangeListener on list of open library managers.
The listener is notified when list of open library managers changes via
LibraryManager.PROP_OPEN_LIBRARY_MANAGERS .
Parameters: listener - to be notified |
addPropertyChangeListener | public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code) | | Adds PropertyChangeListener.
The listener is notified when library is added or removed.
Parameters: listener - to be notified |
getDefault | public static synchronized LibraryManager getDefault()(Code) | | Get the default instance of the library manager.
the singleton instance |
getDisplayName | public String getDisplayName()(Code) | | Gets a human-readable description of this manager.
This may be used to visually differentiate the global manager from various local managers.
a localized display name See Also: LibraryStorageArea.getDisplayName since: org.netbeans.modules.project.libraries/1 1.15 |
getLibraries | public synchronized Library[] getLibraries()(Code) | | Lists all libraries defined in this manager.
library definitions (never null ) |
getLibrary | public Library getLibrary(String name)(Code) | | Returns library by its name.
Parameters: name - of the library, must not be null library or null if the library is not found |
removeOpenManagersPropertyChangeListener | public static void removeOpenManagersPropertyChangeListener(PropertyChangeListener listener)(Code) | | Removes PropertyChangeListener
Parameters: listener - |
removePropertyChangeListener | public void removePropertyChangeListener(PropertyChangeListener listener)(Code) | | Removes PropertyChangeListener
Parameters: listener - |
|
|
|