|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Dialog | +--net.sf.javadocbuilder.ui.NewBuilderDialog
Dialog page for adding a new builder. This page is used for editing a build command too, since basically consists of a form that maps ICommand to a UI.
Field Summary | |
protected net.sf.javadocbuilder.BuilderConfiguration |
builderConfiguration
The command to configure |
protected Button |
classNameFilteringButton
|
protected Text |
classNameFitleringPatternText
|
private static java.lang.String |
CLICK_ON_A_TEMPLATE
|
private static java.util.logging.Logger |
log
|
protected net.sf.javadocbuilder.extensions.Manager |
manager
|
protected Text |
outDirText
|
protected Text |
outNamePatternText
|
protected IProject |
project
|
protected Button |
singleOutButton
|
protected net.sf.javadocbuilder.ITemplateSource[] |
sources
|
protected Text |
srcDirsText
|
protected Text |
tagFilterNameText
|
protected Button |
tagFitlerEnabled
|
protected Label |
templateInfo
|
protected net.sf.javadocbuilder.ITemplate[] |
templates
|
private List |
templatesList
|
private Combo |
templateSourceCombo
|
Fields inherited from interface net.sf.javadocbuilder.Constants |
ARG_CLASSNAME_FILTER_ENABLED, ARG_CLASSNAME_FILTER_PATTERN, ARG_CUSTOM_TEMPLATE_NAME, ARG_OUT_DIR, ARG_OUT_NAME_PATTERN, ARG_SINGLE_FILE, ARG_SOURCE_DIRECTORIES, ARG_TAG_FILTER_ENABLED, ARG_TAG_FILTER_NAME, ARG_TEMPLATE_NAME, CONFIGURATION_FILENAME |
Constructor Summary | |
protected |
NewBuilderDialog(Shell parentShell,
IProject prj)
|
Method Summary | |
private void |
createAddSrcDirButton(Composite srcDirsComposite)
|
protected Control |
createContents(Composite main)
|
private void |
createFiltersTab(Composite parent)
|
private void |
createMainTabItem(Composite parent)
|
private void |
createTemplates(Composite parent)
Creates the UI area of the templates list and info. |
private void |
createTemplateTabItem(Composite parent)
|
protected void |
disableCustomTemplateWidgets()
|
protected void |
disableTemplateWidgets()
|
protected void |
enableCustomTemplateWidgets()
|
protected void |
enableTemplateWidgets()
|
private void |
fillTemplates()
Set the templatesList with the templates provided in the selected templateSource. |
protected void |
fillValues()
Sets values of widgets according to data on builderConfiguration |
net.sf.javadocbuilder.BuilderConfiguration |
getBuilderConfiguration()
|
private boolean |
isEmpty(Text t)
Check if the given text is empty. |
private java.lang.String |
nullSafe(java.lang.Object o)
|
protected void |
okPressed()
|
private void |
selectTemplateName()
|
private void |
selectTemplateSource()
Gets the index of the template source on the combo or -1 if not found or the combo is empty |
private void |
setCustomTemplateWidgets(boolean val)
|
private void |
setTemplateWidgets(boolean val)
|
private boolean |
validConfiguration()
Evaluates the validity (and consitency) of arguments for a builder configuration This method informs the user the errors found. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String CLICK_ON_A_TEMPLATE
protected net.sf.javadocbuilder.BuilderConfiguration builderConfiguration
protected Text srcDirsText
protected Text outDirText
protected Button singleOutButton
protected Text outNamePatternText
protected Button tagFitlerEnabled
protected Text tagFilterNameText
protected IProject project
protected Button classNameFilteringButton
protected Text classNameFitleringPatternText
private static java.util.logging.Logger log
protected net.sf.javadocbuilder.extensions.Manager manager
protected net.sf.javadocbuilder.ITemplateSource[] sources
private List templatesList
private Combo templateSourceCombo
protected net.sf.javadocbuilder.ITemplate[] templates
protected Label templateInfo
Constructor Detail |
protected NewBuilderDialog(Shell parentShell, IProject prj)
parentShell
- Method Detail |
protected void okPressed()
private final boolean isEmpty(Text t)
t
-
private boolean validConfiguration()
private void setCustomTemplateWidgets(boolean val)
protected void enableCustomTemplateWidgets()
protected void disableCustomTemplateWidgets()
protected void enableTemplateWidgets()
protected void disableTemplateWidgets()
private void setTemplateWidgets(boolean val)
protected Control createContents(Composite main)
private void createTemplateTabItem(Composite parent)
private void createTemplates(Composite parent)
private void fillTemplates()
templates
field with
the result of ITemplateSource.getTemplates()
private void createMainTabItem(Composite parent)
parent
- private void createFiltersTab(Composite parent)
private void createAddSrcDirButton(Composite srcDirsComposite)
srcDirsComposite
- public final net.sf.javadocbuilder.BuilderConfiguration getBuilderConfiguration()
protected void fillValues()
builderConfiguration
private void selectTemplateName()
private void selectTemplateSource()
private final java.lang.String nullSafe(java.lang.Object o)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |