public abstract class AbstractBuilderModel extends java.lang.Object implements BaliWizardState
Constructor and Description |
---|
AbstractBuilderModel() |
Modifier and Type | Method and Description |
---|---|
protected void |
addFileToProject(Node node) |
protected boolean |
buildFile(Node node) |
void |
commitWizardState()
Called by the BaliWizard to finalize and commit its current
state.
|
protected SourceModel |
createSourceModel() |
protected abstract java.lang.String |
getBaseName() |
abstract java.lang.String |
getBuilderType() |
protected java.lang.String |
getDefaultRelativeDirectory(Project project) |
java.net.URL |
getDirectory() |
protected java.lang.String |
getFileContents() |
java.lang.String |
getFileName() |
Project |
getProject() |
java.lang.String |
getRelativeDirectory() |
protected SourceModel |
getSourceModel() |
java.net.URL |
getURL() |
protected void |
initializeFromContext(Context ctx) |
protected void |
initializeSourceDir(Context ctx) |
boolean |
isRaiseEditor() |
protected void |
postProcess(Node node) |
void |
reportError(java.lang.String msg) |
void |
reportError(java.lang.String title,
java.lang.String msg,
java.lang.String helpID) |
protected void |
reportFailedToCreateNode() |
protected void |
setClearExistingFiles(boolean clearExistingFiles) |
void |
setDirectory(java.net.URL url) |
void |
setFileName(java.lang.String newName) |
void |
setProject(Project project) |
void |
setRaiseEditor(boolean raise) |
void |
setRelativeDirectory(java.lang.String newDir) |
void |
setURL(java.net.URL url) |
boolean |
shouldAcquireTextBuffer() |
protected boolean |
shouldAddToProjectContent() |
public abstract java.lang.String getBuilderType()
protected abstract java.lang.String getBaseName()
protected void initializeFromContext(Context ctx)
protected void initializeSourceDir(Context ctx)
protected java.lang.String getDefaultRelativeDirectory(Project project)
protected final void setClearExistingFiles(boolean clearExistingFiles)
public boolean isRaiseEditor()
public void setRaiseEditor(boolean raise)
public final void setProject(Project project)
public final Project getProject()
public final void setFileName(java.lang.String newName)
public final java.lang.String getFileName()
public final void setDirectory(java.net.URL url)
public final java.net.URL getDirectory()
public final void setRelativeDirectory(java.lang.String newDir)
public final java.lang.String getRelativeDirectory()
public final java.net.URL getURL()
public final void setURL(java.net.URL url)
public final void commitWizardState()
BaliWizardState
commitWizardState
in interface BaliWizardState
public boolean shouldAcquireTextBuffer()
protected void reportFailedToCreateNode()
protected void addFileToProject(Node node)
protected boolean buildFile(Node node)
protected java.lang.String getFileContents()
protected void postProcess(Node node)
protected SourceModel createSourceModel()
public final void reportError(java.lang.String msg)
public void reportError(java.lang.String title, java.lang.String msg, java.lang.String helpID)
protected final SourceModel getSourceModel()
protected boolean shouldAddToProjectContent()