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, getDialogTitle
cancel, commitAndFinish, displayErrorMessage, finish, getHeaderTitle, invoke, isAvailable
getLegacyParams, getMenuSpecification, getToolTipText, getWizardId, setLegacyParams, setWizardId, toString
protected java.lang.String _getTitleString()
AbstractBuilder
_getTitleString
in class AbstractBuilder
protected oracle.bali.ewt.dialog.JEWTDialog buildDialog(Context context, BaliWizardState state)
BaliWizard
Important note: All panels must implement the BaliWizardPanel interface in order for this BaliWizard to work!
buildDialog
in class BaliWizard
context
- The Context describing the conditions of the call.state
- The state.Context
, JEWTDialog
protected BaliWizardPanel buildPanel(Context context, BaliWizardState state)
BaliWizard
buildPanel
in class BaliWizard
protected AbstractBuilderModel _buildModel(Context context)
_buildModel
in class AbstractBuilder
protected EnumBuilderModel _createModel(Context context)
public java.lang.String getLongLabel()
Wizard
Wizard.getShortLabel()
.getLongLabel
in class Wizard
public java.lang.String getShortLabel()
BaliWizard
getShortLabel
in class BaliWizard
public javax.swing.Icon getIcon()
Wizard
Icon
to use in the Object Gallery. If this Wizard is not accessed from the Object Gallery, the Wizard should return null
.getIcon
in class BaliWizard
Icon
to be displayed in the Object Gallery.protected java.lang.String getHeaderDescription()
getHeaderDescription
in class AbstractBuilder
protected java.awt.Image getHeaderImage()
getHeaderImage
in class BaliWizard
public boolean canInvoke(Context context)
TriggerInvokable
canInvoke
in interface TriggerInvokable
context
- the Context
in which Invokable.invoke(oracle.ide.Context)
may be called on this objectpublic java.lang.Object getInvalidStateMessage(Context context)
TriggerInvokable
MessageDialog
.getInvalidStateMessage
in interface TriggerInvokable