| 
 | 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.wizard.common.BaliWizard
public abstract class BaliWizard
The AbstractOnePageWizard is an abstract base class using the Bali JEWTDialog.
Children should:
| Field Summary | |
|---|---|
| protected  oracle.bali.ewt.dialog.JEWTDialog | _dlg | 
| protected  javax.swing.Icon | largeIconDeprecated. since 11.0 override getIcon()instead. | 
| protected  BaliWizardState | state | 
| protected  java.lang.String | wizName | 
| Constructor Summary | |
|---|---|
| BaliWizard()Constructor. | |
| Method Summary | |
|---|---|
| protected  oracle.bali.ewt.dialog.JEWTDialog | buildDialog(Context context,
            BaliWizardState state)Create and fill in JEWTDialog instances. | 
| protected abstract  BaliWizardPanel | buildPanel(Context context,
           BaliWizardState state)The returned Panel should be a JPanel that implements the BaliWizardPanel interface. | 
| protected  BaliWizardState | buildState(Context context)Create a new state object. | 
| protected  void | cancel() | 
|  void | commitAndFinish()Commits the changes and closes the dialog. | 
| protected  void | displayErrorMessage(java.lang.String title,
                    java.lang.String msg,
                    java.lang.String helpID) | 
| protected  void | finish() | 
| protected  java.lang.String | getDialogTitle() | 
| protected  java.lang.String | getHeaderDescription() | 
| protected  java.awt.Image | getHeaderImage() | 
| protected  java.lang.String | getHeaderTitle() | 
|  javax.swing.Icon | getIcon()Gets the Iconto use in the Object Gallery. | 
|  java.lang.String | getShortLabel()Gets the name of the Wizard; the code can be inherited, as it returns the abstracted variable wizName. | 
|  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, getLongLabel, getMenuSpecification, getToolTipText, setLegacyParams, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
protected oracle.bali.ewt.dialog.JEWTDialog _dlg
protected javax.swing.Icon largeIcon
getIcon() instead.protected BaliWizardState state
protected java.lang.String wizName
| Constructor Detail | 
|---|
public BaliWizard()
| Method Detail | 
|---|
protected BaliWizardState buildState(Context context)
context - The Context describing the conditions of the call.
oracle.ide.addin.Context
protected oracle.bali.ewt.dialog.JEWTDialog buildDialog(Context context,
                                                        BaliWizardState state)
Important note: All panels must implement the BaliWizardPanel interface in order for this BaliWizard to work!
context - The Context describing the conditions of the call.state - The state.
oracle.ide.addin.Context, 
JEWTDialog
protected abstract BaliWizardPanel buildPanel(Context context,
                                              BaliWizardState state)
public 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 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.public java.lang.String getShortLabel()
getShortLabel in class Wizardpublic 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 void commitAndFinish()
protected void finish()
protected void cancel()
protected java.awt.Image getHeaderImage()
protected java.lang.String getHeaderTitle()
protected java.lang.String getHeaderDescription()
protected java.lang.String getDialogTitle()
protected final void displayErrorMessage(java.lang.String title,
                                         java.lang.String msg,
                                         java.lang.String helpID)
| 
 | 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 | |||||||||