|
org.netbeans.modules.java.project/1 1.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.spi.java.project.support.ui.templates.JavaTemplates
public class JavaTemplates
Default implementations of Java-specific template UI.
Method Summary | |
---|---|
static WizardDescriptor.InstantiatingIterator |
createJavaTemplateIterator()
Creates new WizardIterator containing standard Package chooser |
static WizardDescriptor.Panel |
createPackageChooser(Project project,
SourceGroup[] folders)
Create a Java-oriented target chooser suitable for templates which are Java sources or otherwise intended to reside in a Java package. |
static WizardDescriptor.Panel |
createPackageChooser(Project project,
SourceGroup[] folders,
WizardDescriptor.Panel bottomPanel)
Create a Java-oriented target chooser suitable for templates which are Java sources or otherwise intended to reside in a Java package. |
static WizardDescriptor.Panel |
createPackageChooser(Project project,
SourceGroup[] folders,
WizardDescriptor.Panel bottomPanel,
boolean validPackageRequired)
Create a Java-oriented target chooser suitable for templates which are Java sources or otherwise intended to reside in a Java package. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WizardDescriptor.Panel createPackageChooser(Project project, SourceGroup[] folders) throws IllegalArgumentException
project
- the project which the template will be created infolders
- a list of possible Java package roots to create the new file in (must be nonempty)
IllegalArgumentException
- if folders is emptypublic static WizardDescriptor.Panel createPackageChooser(Project project, SourceGroup[] folders, WizardDescriptor.Panel bottomPanel) throws IllegalArgumentException
project
- the project which the template will be created infolders
- a list of possible Java package roots to create the new file in (must be nonempty)bottomPanel
- panel which should be placed underneth the default chooser
IllegalArgumentException
- if folders is emptypublic static WizardDescriptor.Panel createPackageChooser(Project project, SourceGroup[] folders, WizardDescriptor.Panel bottomPanel, boolean validPackageRequired) throws IllegalArgumentException
project
- the project which the template will be created infolders
- a list of possible Java package roots to create the new file in (must be nonempty)bottomPanel
- panel which should be placed underneth the default chooservalidPackageRequired
- indicates whether a only a valid (non-empty) package is accepted
IllegalArgumentException
- if folders is emptypublic static WizardDescriptor.InstantiatingIterator createJavaTemplateIterator()
|
org.netbeans.modules.java.project/1 1.8.22 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |