public final class CustomizerUtilities extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CustomizerUtilities.LicensePanelContentHandler
handle data inputs and outputs in the license headers customizer panel.
|
Constructor and Description |
---|
CustomizerUtilities() |
Modifier and Type | Method and Description |
---|---|
static JComponent |
createLicenseHeaderCustomizerPanel(ProjectCustomizer.Category category,
CustomizerUtilities.LicensePanelContentHandler handler)
for given category and data handler, create a component showing license header editing panel.
|
static LibraryChooser.LibraryImportHandler |
getLibraryChooserImportHandler(File librariesLocation)
Returns library import handler which imports global library to sharable
one.
|
static LibraryChooser.LibraryImportHandler |
getLibraryChooserImportHandler(ReferenceHelper refHelper)
Returns library import handler which imports global library to sharable
one.
|
public static JComponent createLicenseHeaderCustomizerPanel(ProjectCustomizer.Category category, CustomizerUtilities.LicensePanelContentHandler handler)
ProjectCustomizer.CompositeCategoryProvider
.category
- handler
- @NonNull public static LibraryChooser.LibraryImportHandler getLibraryChooserImportHandler(@NonNull ReferenceHelper refHelper)
LibraryChooser.showDialog(org.netbeans.api.project.libraries.LibraryManager, org.netbeans.api.project.libraries.LibraryChooser.Filter, org.netbeans.api.project.libraries.LibraryChooser.LibraryImportHandler)
for usage of this handler.refHelper
- the ReferenceHelper
@NonNull public static LibraryChooser.LibraryImportHandler getLibraryChooserImportHandler(@NonNull File librariesLocation)
LibraryChooser.showDialog(org.netbeans.api.project.libraries.LibraryManager, org.netbeans.api.project.libraries.LibraryChooser.Filter, org.netbeans.api.project.libraries.LibraryChooser.LibraryImportHandler)
for usage of this handler.librariesLocation
- the location of the libraries definition file to import the library into