org.openide.nodes.Node.Cookie, java.io.Serializable, org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>public static interface TemplateWizard.Iterator
extends org.openide.WizardDescriptor.Iterator<org.openide.WizardDescriptor>, java.io.Serializable, org.openide.nodes.Node.Cookie
All Panels provided by this iterator will receive a TemplateWizard
as the settings object and they are encourage to store its data by the
use of putProperty method and read it using getProperty.
Implements Node.Cookie since version 2.13
TemplateRegistration| Modifier and Type | Method | Description |
|---|---|---|
void |
initialize(TemplateWizard wiz) |
Initializes the iterator after it is constructed.
|
java.util.Set<DataObject> |
instantiate(TemplateWizard wiz) |
Instantiates the template using information provided by
the wizard.
|
void |
uninitialize(TemplateWizard wiz) |
Informs the Iterator that the TemplateWizard finished using the Iterator.
|
java.util.Set<DataObject> instantiate(TemplateWizard wiz) throws java.io.IOException
wiz - the wizardjava.io.IOException - if the instantiation failsvoid initialize(TemplateWizard wiz)
target chooser
from the wizard if it does not wish to provide its own.wiz - template wizard that wishes to use the iteratorvoid uninitialize(TemplateWizard wiz)
wiz - wizard which is no longer being usedBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.