Data
- in practice this should be WizardDescriptor
WizardDescriptor.AsynchronousInstantiatingIterator<Data>
, WizardDescriptor.InstantiatingIterator<Data>
, WizardDescriptor.Iterator<Data>
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 | Description |
---|---|---|
Set |
instantiate(org.netbeans.api.progress.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(org.netbeans.api.progress.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 failsBuilt on April 24 2018. | Portions Copyright 1997-2018 Oracle. All rights reserved.