Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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

public class AnnotationBuilder
extends AbstractBuilder


Field Summary
 
Fields inherited from class oracle.jdeveloper.wizard.common.BaliWizard
_dlg, largeIcon, state, wizName
 
Constructor Summary
AnnotationBuilder()
           
 
Method Summary
protected  AbstractBuilderModel _buildModel(Context context)
           
protected  AnnotationBuilderModel _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.
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.
 
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, isAvailable
 
Methods inherited from class oracle.ide.wizard.Wizard
getLegacyParams, getMenuSpecification, getToolTipText, setLegacyParams, 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:
oracle.ide.addin.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 AbstractBuilderModel _buildModel(Context context)
Specified by:
_buildModel in class 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 AbstractBuilder

getHeaderImage

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

_getTitleString

protected java.lang.String _getTitleString()
Description copied from class: AbstractBuilder
Returns the type of object being built. This title should not include the word 'New' and should use title capitalization - for example, 'HTML File' for a builder that creates new HTML files.

Overrides:
_getTitleString in class AbstractBuilder

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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