Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


oracle.jdeveloper.offlinedb.wizard
Class SchemaWizard

java.lang.Object
  extended by oracle.ide.wizard.Wizard
      extended by oracle.jdeveloper.offlinedb.wizard.SchemaWizard


public class SchemaWizard
extends Wizard

Wizard for creating an empty offline schema definition.


Field Summary
static java.lang.String HELP_SCHEMA_INFO
           
static java.lang.String WELCOME_ID
           

 

Constructor Summary
SchemaWizard()
           

 

Method Summary
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.

 

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

HELP_SCHEMA_INFO

public static final java.lang.String HELP_SCHEMA_INFO
See Also:
Constant Field Values

WELCOME_ID

public static final java.lang.String WELCOME_ID
See Also:
Constant Field Values

Constructor Detail

SchemaWizard

public SchemaWizard()

Method Detail

editSchema

public static Schema editSchema(Context context)
Launches a dialog to edit the schema in the given context.

createSchema

public static Schema createSchema(Context context)
Launches the create schema dialog and if successful returns the schema the user created.

getLongLabel

public java.lang.String getLongLabel()
Description copied from class: Wizard
Provides a description of the Wizard that appears in the hint text area of the Object Gallery. This is usually a verb phrase starting with "Creates a...". The default implementation uses a format string for "Creates a new ____", filling in the blank with the value from Wizard.getShortLabel().
Overrides:
getLongLabel in class Wizard

getIcon

public javax.swing.Icon getIcon()
Description copied from class: Wizard
Gets the Icon to use in the Object Gallery. If this Wizard is not accessed from the Object Gallery, the Wizard should return null.
Overrides:
getIcon in class Wizard
Returns:
The Icon to be displayed in the Object Gallery.

getShortLabel

public java.lang.String getShortLabel()
Description copied from class: Wizard
Provides the label that represents the Wizard in the Object Gallery. The label should be a noun or noun phrase naming the item that is created by this Wizard and should omit the word "new". Examples: "Java Class", "Java Interface", "XML Document", "Database Connection".
Specified by:
getShortLabel in class Wizard
Returns:
The human readable label of the Wizard.

isAvailable

public boolean isAvailable(Context c)
Returns true if the context contains a valid Project which also contains offline db schema/packages.
Specified by:
isAvailable in class Wizard
Parameters:
c - The Context to use when invoking this Wizard.
Returns:
true if the wizard can be invoked, or false otherwise.

invoke

public boolean invoke(Context context)
Description copied from class: Wizard
Invokes the wizard.
Specified by:
invoke in class Wizard
Parameters:
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.
Returns:
true if the invocation was successful, false if it failed or was canceled.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.9.0)

E52944-01


Copyright © 1997, 2015, Oracle. All rights reserved.