public class WizardManager extends Service
| Constructor and Description |
|---|
WizardManager() |
| Modifier and Type | Method and Description |
|---|---|
protected Wizard |
findOrCreateWizard(java.lang.String id)
Find or create a wizard instance.
|
protected java.util.Collection |
getAllWizardClasses()
Get the class names of all registered wizards.
|
protected javax.ide.wizard.spi.WizardHook |
getWizardHook()
Initialize the wizard manager.
|
static WizardManager |
getWizardManager()
Get the wizard manager implementation for this IDE.
|
boolean |
invokeWizard(Context context,
java.lang.String id)
Invokes a wizard with the specified execution context and
parameters.
|
cloneLoadedServices, getService, initialize, resetAllServices, setLoadedServicespublic boolean invokeWizard(Context context, java.lang.String id)
context - The execution context for the invokable.id - The id identifying the wizard.true if the wizard completed successfully,
otherwise false.protected final javax.ide.wizard.spi.WizardHook getWizardHook()
protected final java.util.Collection getAllWizardClasses()
protected final Wizard findOrCreateWizard(java.lang.String id)
id - the id of the wizard to find or create.java.lang.IllegalArgumentException - if no such wizard is registered.java.lang.IllegalStateException - if the wizard could not be created.public static WizardManager getWizardManager()