public class EnumBuilder extends AbstractBuilder implements TriggerInvokable
_dlg, largeIcon, state, wizName| Constructor and Description |
|---|
EnumBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractBuilderModel |
_buildModel(Context context) |
protected EnumBuilderModel |
_createModel(Context context) |
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.
|
boolean |
canInvoke(Context context)
Called to determine whether this Invokable should be enabled or disabled.
|
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.Object |
getInvalidStateMessage(Context context)
Returns a message that indicates why the Invokable cannot be invoked in the active context.
|
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.
|
buildState, getDialogTitlecancel, commitAndFinish, displayErrorMessage, finish, getHeaderTitle, invoke, isAvailablegetLegacyParams, getMenuSpecification, getToolTipText, getWizardId, setLegacyParams, setWizardId, toStringprotected java.lang.String _getTitleString()
AbstractBuilder_getTitleString in class AbstractBuilderprotected 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 BaliWizardPanel buildPanel(Context context, BaliWizardState state)
BaliWizardbuildPanel in class BaliWizardprotected AbstractBuilderModel _buildModel(Context context)
_buildModel in class AbstractBuilderprotected EnumBuilderModel _createModel(Context context)
public java.lang.String getLongLabel()
WizardWizard.getShortLabel().getLongLabel in class Wizardpublic java.lang.String getShortLabel()
BaliWizardgetShortLabel 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 java.lang.String getHeaderDescription()
getHeaderDescription in class AbstractBuilderprotected java.awt.Image getHeaderImage()
getHeaderImage in class BaliWizardpublic boolean canInvoke(Context context)
TriggerInvokablecanInvoke in interface TriggerInvokablecontext - the Context in which Invokable.invoke(oracle.ide.Context) may be called on this objectpublic java.lang.Object getInvalidStateMessage(Context context)
TriggerInvokableMessageDialog.getInvalidStateMessage in interface TriggerInvokable