public class InterfaceBuilderModel extends ClassBuilderModel
ClassBuilderModel.DuplicateClassException, ClassBuilderModel.IllegalBaseClassException, ClassBuilderModel.IllegalClassNameException, ClassBuilderModel.IllegalPackageNameException, ClassBuilderModel.InvalidFileException, ClassBuilderModel.UserCancelledFileException
DEFAULT_BASE_CLASS, JAVA_EXTENSION_ID, MODEL
Constructor and Description |
---|
InterfaceBuilderModel(Context ctx) |
Modifier and Type | Method and Description |
---|---|
protected void |
generate(SourceFile file,
SourceClass cls) |
protected java.lang.String |
getBaseName() |
java.lang.String |
getBuilderType() |
protected boolean |
hasDefaultConstructor()
Whether classes created by this model should have a default
constructor created.
|
protected boolean |
validateClass(SourceClass cls,
java.lang.String pkg) |
_isClassAccessible, buildFile, createSourceModel, encodeValue, generateDefaultFileName, getBuilderDialog, getClassName, getConfirmOverwrite, getContext, getDefaultBaseClass, getDefaultBaseClasses, getDefaultRelativeDirectory, getDefaultType, getJavaManager, getKeepDefaultPackage, getLibraries, getModel, getOpenInEditor, getOtherImports, getPackage, getPanel, getQualifiedClassName, hasAttributes, isObjectBaseClass, isSuperclassEditable, postProcess, reportError, setActivePanel, setBuilderDialog, setClassName, setConfirmOverwrite, setKeepDefaultPackage, setOpenInEditor, setPackage, updateGenerators, updateStoredBaseClasses, validateClass, validateClassNameIsUnique, validateClassType
addFileToProject, commitWizardState, getDirectory, getFileContents, getFileName, getProject, getRelativeDirectory, getSourceModel, getURL, initializeFromContext, initializeSourceDir, isRaiseEditor, reportError, reportFailedToCreateNode, setClearExistingFiles, setDirectory, setFileName, setProject, setRaiseEditor, setRelativeDirectory, setURL, shouldAcquireTextBuffer, shouldAddToProjectContent
public InterfaceBuilderModel(Context ctx)
protected boolean hasDefaultConstructor()
ClassBuilderModel
hasDefaultConstructor
in class ClassBuilderModel
protected boolean validateClass(SourceClass cls, java.lang.String pkg)
protected void generate(SourceFile file, SourceClass cls)
generate
in class ClassBuilderModel
protected java.lang.String getBaseName()
getBaseName
in class ClassBuilderModel
public java.lang.String getBuilderType()
getBuilderType
in class ClassBuilderModel