public class ClassGenerator extends AbstractGenerator
| Constructor and Description |
|---|
ClassGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addDetails(JavaManager mgr,
SourceFile file,
SourceClass cls) |
javax.swing.JComponent |
getAttributes(java.lang.String baseType)
Provides the Attributes panel supported by this Generator.
|
void |
setEnabled(boolean isEnabled)
Sets the enabled state of all UI present on the object returned by
getAttributes.
|
enableTree, escapeString, generate, getClassDescription, getContext, getLibraries, getProject, getWorkspace, setContext, validateAttributespublic javax.swing.JComponent getAttributes(java.lang.String baseType)
GeneratorgetAttributes in interface GeneratorgetAttributes in class AbstractGeneratorbaseType - 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 GeneratorsetEnabled in class AbstractGeneratorisEnabled - The enabled state to set all UI controls to.protected void addDetails(JavaManager mgr, SourceFile file, SourceClass cls)
addDetails in class AbstractGenerator