| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
WELCOME_ID |
| Constructor and Description |
|---|
SchemaWizard() |
| Modifier and Type | Method and Description |
|---|---|
static Schema |
createSchema(Context context)
Launches the create schema dialog and if successful returns the schema the
user created.
|
static Schema |
editSchema(Context context)
Launches a dialog to edit the schema in the given context.
|
javax.swing.Icon |
getIcon()
Gets the
Icon to use in the Object Gallery. |
java.lang.String |
getLongLabel()
Provides a description of the Wizard that appears in the hint text
area of the Object Gallery.
|
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 c)
Returns true if the context contains a valid Project which also contains
offline db schema/packages.
|
getLegacyParams, getMenuSpecification, getToolTipText, getWizardId, setLegacyParams, setWizardId, toStringpublic static final java.lang.String WELCOME_ID
public static Schema editSchema(Context context)
public static Schema createSchema(Context context)
public java.lang.String getLongLabel()
WizardWizard.getShortLabel().getLongLabel in class Wizardpublic javax.swing.Icon getIcon()
WizardIcon to use in the Object Gallery. If this Wizard
is not accessed from the Object Gallery, the Wizard should return
null.public java.lang.String getShortLabel()
WizardgetShortLabel in class Wizardpublic boolean isAvailable(Context c)
isAvailable in class Wizardc - The Context to use when invoking this
Wizard.true if the wizard can be invoked, or
false otherwise.public boolean invoke(Context context)
Invokablecontext - 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.