Modifier and Type | Class and Description |
---|---|
static class |
ProfileWizard.DefaultNameValidator |
static interface |
ProfileWizard.NameValidator |
static class |
ProfileWizard.Parms |
Constructor and Description |
---|
ProfileWizard() |
Modifier and Type | Method and Description |
---|---|
Profile |
getProfile()
Return the last Profile that was created or edited.
|
java.lang.String |
getShortLabel()
Provides the label that represents the Wizard in the Object Gallery.
|
boolean |
invoke(Context context)
Invokes the wizard.
|
boolean |
isAvailable(Context context)
Called when the sensitivity of the menu item that opens this wizard must be determined.
|
getIcon, getLegacyParams, getLongLabel, getMenuSpecification, getToolTipText, getWizardId, setLegacyParams, setWizardId, toString
public boolean isAvailable(Context context)
Wizard
isAvailable
in class Wizard
context
- The Context
to use when invoking this Wizard
.true
if the wizard can be invoked, or false
otherwise.public boolean invoke(Context context)
Invokable
context
- The context of the wizard. All parameters required by the wizard must be set on the context. The wizard may also return values to the caller by setting them into the Context for the caller to retrieve.public Profile getProfile()
public java.lang.String getShortLabel()
Wizard
getShortLabel
in class Wizard