Data
- in practice this should be WizardDescriptor
public static interface WizardDescriptor.ProgressInstantiatingIterator<Data> extends WizardDescriptor.AsynchronousInstantiatingIterator<Data>
instantiate
is called outside ATW queue.
(This interface can replace
TemplateWizard.Iterator
in a template's declaration.)Modifier and Type | Method and Description |
---|---|
Set |
instantiate(ProgressHandle handle)
Is called in separate thread when the Finish button
are clicked and allows implement asynchronous instantating of newly created objects.
|
instantiate
initialize, uninitialize
addChangeListener, current, hasNext, hasPrevious, name, nextPanel, previousPanel, removeChangeListener
Set instantiate(ProgressHandle handle) throws IOException
ProgressHandle
is not started, need to start it and report progress by
messages in the progress()
method.handle
- progress bar handleIOException
- when instantiate fails