public class ClassBuilder extends AbstractBuilder
_dlg, largeIcon, state, wizName| Constructor and Description |
|---|
ClassBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBuilderModel |
_buildModel(Context context) |
protected ClassBuilderModel |
_createModel(Context context) |
protected java.lang.String |
_getHelpID() |
protected java.lang.String |
_getTitleString()
Returns the type of object being built.
|
protected oracle.bali.ewt.dialog.JEWTDialog |
buildDialog(Context context,
BaliWizardState state)
Create and fill in JEWTDialog instances.
|
protected BaliWizardPanel |
buildPanel(Context context,
BaliWizardState state)
The returned Panel should be a JPanel that implements the
BaliWizardPanel interface.
|
protected void |
finish()
This method will now pop a progress dialog iff file
creation takes longer than two seconds.
|
protected java.lang.String |
getHeaderDescription() |
protected java.awt.Image |
getHeaderImage() |
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()
Gets the name of the Wizard; the code can be inherited, as it returns
the abstracted variable wizName.
|
protected void |
noDisplayProgressBarOnFinish()
This method should be called if class
should not display a progressBar during
the invoke of the finish()
|
buildState, getDialogTitlecancel, commitAndFinish, displayErrorMessage, getHeaderTitle, invoke, isAvailablegetLegacyParams, getMenuSpecification, getToolTipText, getWizardId, setLegacyParams, setWizardId, toStringpublic java.lang.String getShortLabel()
BaliWizardgetShortLabel in class BaliWizardpublic java.lang.String getLongLabel()
WizardWizard.getShortLabel().getLongLabel in class Wizardprotected final AbstractBuilderModel _buildModel(Context context)
_buildModel in class AbstractBuilderprotected ClassBuilderModel _createModel(Context context)
protected BaliWizardPanel buildPanel(Context context, BaliWizardState state)
BaliWizardbuildPanel in class BaliWizardprotected oracle.bali.ewt.dialog.JEWTDialog buildDialog(Context context, BaliWizardState state)
BaliWizardImportant note: All panels must implement the BaliWizardPanel interface in order for this BaliWizard to work!
buildDialog in class BaliWizardcontext - The Context describing the conditions of the call.state - The state.Context,
JEWTDialogprotected java.lang.String getHeaderDescription()
getHeaderDescription in class AbstractBuilderprotected java.lang.String _getTitleString()
AbstractBuilder_getTitleString in class AbstractBuilderprotected java.lang.String _getHelpID()
protected java.awt.Image getHeaderImage()
getHeaderImage in class BaliWizardpublic 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 BaliWizardIcon to be displayed in the Object Gallery.protected void noDisplayProgressBarOnFinish()
protected void finish()
@Override
protected void finish()
{
if(state != null)
{
state.commitWizardState();
}
}
finish in class BaliWizard