|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdeveloper.builder.cls.AbstractGenerator
public abstract class AbstractGenerator
| Constructor Summary | |
|---|---|
AbstractGenerator() |
|
| Method Summary | |
|---|---|
protected void |
addDetails(JavaManager mgr, SourceFile file, SourceClass cls) |
protected static void |
enableTree(java.awt.Component root, boolean isEnabled) |
protected java.lang.String |
escapeString(java.lang.String inString) |
void |
generate(JavaManager mgr, SourceFile srcFile)Tells the Generator to add whatever custom code it requires. |
javax.swing.JComponent |
getAttributes(java.lang.String baseType)Provides the Attributes panel supported by this Generator. |
java.lang.String |
getClassDescription(java.lang.String baseType)Provides a description of the class being generated by this UIGenerator. |
protected Context |
getContext() |
java.lang.String[] |
getLibraries(java.lang.String baseType)Provides a list of JDeveloper libraries required by the code generated by this Generator for the specified base type. |
protected Project |
getProject() |
protected Workspace |
getWorkspace() |
void |
setContext(Context ctx)Sets the context in which the generator is being accessed. |
void |
setEnabled(boolean isEnabled)Sets the enabled state of all UI present on the object returned by getAttributes. |
boolean |
validateAttributes()Allows the supplied Attributes panel to be validated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractGenerator()
| Method Detail |
|---|
public javax.swing.JComponent getAttributes(java.lang.String baseType)
GeneratorgetAttributes in interface GeneratorbaseType - The base class for which the attributes are requested.JContainer object representing the available attributes for the base class.public void setEnabled(boolean isEnabled)
GeneratorsetEnabled in interface GeneratorisEnabled - The enabled state to set all UI controls to.
public final void generate(JavaManager mgr,
SourceFile srcFile)
Generatorgenerate in interface Generatormgr - The JavaManager object representing the current project.srcFile - The SourceFile object representing the new file.public java.lang.String getClassDescription(java.lang.String baseType)
GeneratorgetClassDescription in interface GeneratorbaseType - The base class of the class.public java.lang.String[] getLibraries(java.lang.String baseType)
GeneratorgetLibraries in interface GeneratorbaseType - The base class for which the list of libraries are requested.public void setContext(Context ctx)
GeneratorsetContext in interface Generatorprotected Context getContext()
protected Project getProject()
protected Workspace getWorkspace()
public boolean validateAttributes()
GeneratorClassBuilderPanel.validateAndWriteToState(oracle.jdeveloper.wizard.common.BaliWizardState)validateAttributes in interface Generatortrueif the settings in the Attributes panel are valid, and false otherwise.
protected void addDetails(JavaManager mgr,
SourceFile file,
SourceClass cls)
protected static final void enableTree(java.awt.Component root,
boolean isEnabled)
protected final java.lang.String escapeString(java.lang.String inString)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||