|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.wizard.Wizard
oracle.jdeveloper.offlinedb.wizard.SchemaChooserWizard
public class SchemaChooserWizard
Simple dialog for choosing an existing offline schema from a given context. The user is presented with a single editable combobox. If an unrecognized schema name is entered, a new schema is created.
| Nested Class Summary | |
|---|---|
static interface |
SchemaChooserWizard.Result
Public interface for the result of displaying the UI. |
| Field Summary | |
|---|---|
static java.lang.String |
HELP_SCHEMA_INFO
|
| Constructor Summary | |
|---|---|
SchemaChooserWizard()
|
|
| Method Summary | |
|---|---|
static SchemaChooserWizard.Result |
chooseSchema(Context context)
Shows UI for choosing an offline schema from the given context |
static SchemaChooserWizard.Result |
chooseSchema(Context context,
OfflineDBObjectProvider provider)
Shows UI for choosing an offline schema from the given context |
static SchemaChooserWizard.Result |
chooseSchema(Context context,
OfflineDBObjectProvider provider,
Schema defaultSchema)
Shows UI for choosing an offline schema from 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 context)
Called when the sensitivity of the menu item that opens this wizard must be determined. |
| Methods inherited from class oracle.ide.wizard.Wizard |
|---|
getLegacyParams, getMenuSpecification, getToolTipText, setLegacyParams, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String HELP_SCHEMA_INFO
| Constructor Detail |
|---|
public SchemaChooserWizard()
| Method Detail |
|---|
public static final SchemaChooserWizard.Result chooseSchema(Context context)
context - the context
public static final SchemaChooserWizard.Result chooseSchema(Context context,
OfflineDBObjectProvider provider)
context - the contextprovider - the provider, if different from the one in the context
public static final SchemaChooserWizard.Result chooseSchema(Context context,
OfflineDBObjectProvider provider,
Schema defaultSchema)
context - the contextprovider - the provider, if different from the one in the contextdefaultSchema - the schema to be initially selected
public java.lang.String getLongLabel()
WizardWizard.getShortLabel().
getLongLabel in class Wizardpublic java.lang.String getShortLabel()
Wizard
getShortLabel in class Wizardpublic boolean invoke(Context context)
Wizard
invoke in class Wizardcontext - 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.
true if the invocation was successful,
false if it failed or was canceled.public boolean isAvailable(Context context)
Wizard
isAvailable in class Wizardcontext - The Context to use when invoking this
Wizard.
true if the wizard can be invoked, or
false otherwise.public 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.
getIcon in class WizardIcon to be displayed in the Object Gallery.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||