public static final class Templates.SimpleTargetChooserBuilder extends Object
Templates.buildSimpleTargetChooser(org.netbeans.api.project.Project, org.netbeans.api.project.SourceGroup[])
Modifier and Type | Method and Description |
---|---|
Templates.SimpleTargetChooserBuilder |
bottomPanel(WizardDescriptor.Panel<WizardDescriptor> bottomPanel)
Sets a panel which should be placed underneath the default chooser.
|
WizardDescriptor.Panel<WizardDescriptor> |
create()
Creates the target chooser panel.
|
Templates.SimpleTargetChooserBuilder |
freeFileExtension()
Permits the file extension of the created file to be customized by the user.
|
public Templates.SimpleTargetChooserBuilder bottomPanel(WizardDescriptor.Panel<WizardDescriptor> bottomPanel)
bottomPanel
- a custom bottom panelpublic Templates.SimpleTargetChooserBuilder freeFileExtension()
CreateFromTemplateHandler.FREE_FILE_EXTENSION
public WizardDescriptor.Panel<WizardDescriptor> create()