|
Extension SDK 10.1.2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectoracle.jdeveloper.builder.cls.AbstractGenerator
| Constructor Summary | |
AbstractGenerator()
|
|
| Method Summary | |
protected void |
addDetails(JotManager mgr,
JotFile file,
JotClass cls)
|
protected static void |
enableTree(java.awt.Component root,
boolean isEnabled)
|
protected java.lang.String |
escapeString(java.lang.String inString)
|
void |
generate(JotManager mgr,
JotFile 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 JProject |
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. |
| 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)
Generator
getAttributes 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)
Generator
setEnabled in interface GeneratorisEnabled - The enabled state to set all UI controls to.
public final void generate(JotManager mgr,
JotFile srcFile)
Generator
generate in interface Generatormgr - The JotManager object representing the
current project.srcFile - The JotFile object representing the
new file.public java.lang.String getClassDescription(java.lang.String baseType)
Generator
getClassDescription in interface GeneratorbaseType - The base class of the class.
public java.lang.String[] getLibraries(java.lang.String baseType)
Generator
getLibraries in interface GeneratorbaseType - The base class for which the list of libraries are requested.
public void setContext(Context ctx)
Generator
setContext in interface Generatorprotected Context getContext()
protected JProject getProject()
protected Workspace getWorkspace()
protected void addDetails(JotManager mgr,
JotFile file,
JotClass cls)
protected static final void enableTree(java.awt.Component root,
boolean isEnabled)
protected final java.lang.String escapeString(java.lang.String inString)
|
Extension SDK | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2004, Oracle. All rights reserved.