Data - in practice this should be WizardDescriptorpublic 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.
|
instantiateinitialize, uninitializeaddChangeListener, current, hasNext, hasPrevious, name, nextPanel, previousPanel, removeChangeListenerSet 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 failsBuilt on August 24 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.