public static interface TemplateWizard.Iterator extends WizardDescriptor.Iterator<WizardDescriptor>, Serializable, 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 and Description |
---|---|
void |
initialize(TemplateWizard wiz)
Initializes the iterator after it is constructed.
|
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.
|
addChangeListener, current, hasNext, hasPrevious, name, nextPanel, previousPanel, removeChangeListener
Set<DataObject> instantiate(TemplateWizard wiz) throws IOException
wiz
- the wizardIOException
- 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 used