Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

oracle.jdeveloper.builder.annotation
Class AnnotationBuilder

java.lang.Object
  extended by oracle.ide.wizard.Wizard
      extended by oracle.jdeveloper.wizard.common.BaliWizard
          extended by oracle.jdeveloper.builder.AbstractBuilder
              extended by oracle.jdeveloper.builder.annotation.AnnotationBuilder
All Implemented Interfaces:
Invokable

public class AnnotationBuilder
extends oracle.jdeveloper.builder.AbstractBuilder


Field Summary
 
Fields inherited from class oracle.jdeveloper.wizard.common.BaliWizard
_dlg, largeIcon, state, wizName
 
Constructor Summary
AnnotationBuilder()
           
 
Method Summary
protected  oracle.jdeveloper.builder.AbstractBuilderModel _buildModel(Context context)
           
protected  AnnotationBuilderModel _createModel(Context context)
           
protected  java.lang.String _getTitleString()
           
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  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.
 boolean isAvailable(Context context)
          Called when the sensitivity of the menu item that opens this wizard must be determined.
 
Methods inherited from class oracle.jdeveloper.builder.AbstractBuilder
buildState, getDialogTitle
 
Methods inherited from class oracle.jdeveloper.wizard.common.BaliWizard
cancel, commitAndFinish, displayErrorMessage, finish, getHeaderTitle, invoke
 
Methods inherited from class oracle.ide.wizard.Wizard
getLegacyParams, getMenuSpecification, getToolTipText, getWizardId, setLegacyParams, setWizardId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationBuilder

public AnnotationBuilder()
Method Detail

buildDialog

protected oracle.bali.ewt.dialog.JEWTDialog buildDialog(Context context,
                                                        BaliWizardState state)
Description copied from class: BaliWizard
Create and fill in JEWTDialog instances.

Important note: All panels must implement the BaliWizardPanel interface in order for this BaliWizard to work!

Overrides:
buildDialog in class BaliWizard
Parameters:
context - The Context describing the conditions of the call.
state - The state.
Returns:
A JEWTDialog that is ready to be run.
See Also:
Context, JEWTDialog

buildPanel

protected BaliWizardPanel buildPanel(Context context,
                                     BaliWizardState state)
Description copied from class: BaliWizard
The returned Panel should be a JPanel that implements the BaliWizardPanel interface.

Specified by:
buildPanel in class BaliWizard

_buildModel

protected oracle.jdeveloper.builder.AbstractBuilderModel _buildModel(Context context)
Specified by:
_buildModel in class oracle.jdeveloper.builder.AbstractBuilder

_createModel

protected AnnotationBuilderModel _createModel(Context context)

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

getShortLabel

public java.lang.String getShortLabel()
Description copied from class: BaliWizard
Gets the name of the Wizard; the code can be inherited, as it returns the abstracted variable wizName.

Overrides:
getShortLabel in class BaliWizard
Returns:
The human readable label of the 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 BaliWizard
Returns:
The Icon to be displayed in the Object Gallery.

getHeaderDescription

protected java.lang.String getHeaderDescription()
Overrides:
getHeaderDescription in class oracle.jdeveloper.builder.AbstractBuilder

getHeaderImage

protected java.awt.Image getHeaderImage()
Overrides:
getHeaderImage in class BaliWizard

_getTitleString

protected java.lang.String _getTitleString()
Overrides:
_getTitleString in class oracle.jdeveloper.builder.AbstractBuilder

isAvailable

public boolean isAvailable(Context context)
Description copied from class: Wizard
Called when the sensitivity of the menu item that opens this wizard must be determined.

Overrides:
isAvailable in class BaliWizard
Parameters:
context - The Context to use when invoking this Wizard.
Returns:
true if the wizard can be invoked, or false otherwise.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.0.0)

E17493-01

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