| java.lang.Object org.netbeans.api.project.libraries.LibraryChooser
All known Subclasses: org.netbeans.api.project.libraries.LibraryChooserGUI,
LibraryChooser | final public class LibraryChooser (Code) | | Visual picker for libraries.
since: org.netbeans.modules.project.libraries/1 1.16 |
Inner Class :public interface Filter | |
Inner Class :public interface Panel | |
Inner Class :public interface LibraryImportHandler | |
Method Summary | |
public static Panel | createPanel(LibraryManager manager, Filter filter) Create a picker as an embeddable panel. | public static Set<Library> | showDialog(LibraryManager manager, Filter filter, LibraryImportHandler handler) Create a chooser showing libraries from given library manager and let the
user to pick some. |
createPanel | public static Panel createPanel(LibraryManager manager, Filter filter)(Code) | | Create a picker as an embeddable panel.
Might be used in a wizard, for example.
Parameters: manager - library manager to use or null for global libraries Parameters: filter - optional libraries filter; null for no filtering a panel controller |
showDialog | public static Set<Library> showDialog(LibraryManager manager, Filter filter, LibraryImportHandler handler)(Code) | | Create a chooser showing libraries from given library manager and let the
user to pick some.
Parameters: manager - manager; can be null in which case global libraries are listed Parameters: filter - optional libraries filter; null for no filtering Parameters: handler - handler to perform library importing; can be null in which caseimport will not be allowed in UI a nonempty set of libraries that were selected, or null if the dialog was cancelled |
|
|