Interface WizardDescriptor.AsynchronousInstantiatingIterator<Data>
- Type Parameters:
Data- in practice this should beWizardDescriptor
- All Superinterfaces:
WizardDescriptor.InstantiatingIterator<Data>, WizardDescriptor.Iterator<Data>
- All Known Subinterfaces:
WizardDescriptor.BackgroundInstantiatingIterator<Data>, WizardDescriptor.ProgressInstantiatingIterator<Data>
- Enclosing class:
WizardDescriptor
public static interface WizardDescriptor.AsynchronousInstantiatingIterator<Data>
extends WizardDescriptor.InstantiatingIterator<Data>
Iterator for a wizard that needs to somehow instantiate new objects outside ATW queue.
(This interface can replace
TemplateWizard.Iterator
in a template's declaration.)- Since:
- org.openide/1 6.5
-
Method Summary
Modifier and TypeMethodDescriptionIs called in separate thread when the Finish button are clicked and allows implement asynchronous instantating of newly created objects.Methods inherited from interface WizardDescriptor.InstantiatingIterator
initialize, uninitializeMethods inherited from interface WizardDescriptor.Iterator
addChangeListener, current, hasNext, hasPrevious, name, nextPanel, previousPanel, removeChangeListener
-
Method Details
-
instantiate
Is called in separate thread when the Finish button are clicked and allows implement asynchronous instantating of newly created objects.- Specified by:
instantiatein interfaceWizardDescriptor.InstantiatingIterator<Data>- Returns:
- a set of objects created (the exact type is at the discretion of the caller)
- Throws:
IOException- when instantiate fails
-