net.sf.javadocbuilder.ui
Class NewBuilderDialog

java.lang.Object
  |
  +--Dialog
        |
        +--net.sf.javadocbuilder.ui.NewBuilderDialog
All Implemented Interfaces:
Constants
Direct Known Subclasses:
EditBuilderDialog

public class NewBuilderDialog
extends Dialog
implements Constants

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.

Author:
Miguel Griffa
See Also:
Serialized Form

Field Summary
protected  net.sf.javadocbuilder.BuilderConfiguration builderConfiguration
          The command to configure
protected  Button classNameFilteringButton
           
protected  Text classNameFitleringPatternText
           
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
           
 
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
protected  Control createContents(Composite main)
           
protected  void disableCustomTemplateWidgets()
           
protected  void disableTemplateWidgets()
           
protected  void enableCustomTemplateWidgets()
           
protected  void enableTemplateWidgets()
           
protected  void fillValues()
          Sets values of widgets according to data on builderConfiguration
 net.sf.javadocbuilder.BuilderConfiguration getBuilderConfiguration()
           
protected  void okPressed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

builderConfiguration

protected net.sf.javadocbuilder.BuilderConfiguration builderConfiguration
The command to configure


srcDirsText

protected Text srcDirsText

outDirText

protected Text outDirText

singleOutButton

protected Button singleOutButton

outNamePatternText

protected Text outNamePatternText

tagFitlerEnabled

protected Button tagFitlerEnabled

tagFilterNameText

protected Text tagFilterNameText

project

protected IProject project

classNameFilteringButton

protected Button classNameFilteringButton

classNameFitleringPatternText

protected Text classNameFitleringPatternText

manager

protected net.sf.javadocbuilder.extensions.Manager manager

sources

protected net.sf.javadocbuilder.ITemplateSource[] sources

templates

protected net.sf.javadocbuilder.ITemplate[] templates

templateInfo

protected Label templateInfo
Constructor Detail

NewBuilderDialog

protected NewBuilderDialog(Shell parentShell,
                           IProject prj)
Parameters:
parentShell -
Method Detail

okPressed

protected void okPressed()

enableCustomTemplateWidgets

protected void enableCustomTemplateWidgets()

disableCustomTemplateWidgets

protected void disableCustomTemplateWidgets()

enableTemplateWidgets

protected void enableTemplateWidgets()

disableTemplateWidgets

protected void disableTemplateWidgets()

createContents

protected Control createContents(Composite main)

getBuilderConfiguration

public final net.sf.javadocbuilder.BuilderConfiguration getBuilderConfiguration()
Returns:
Returns the builderConfiguration.

fillValues

protected void fillValues()
Sets values of widgets according to data on builderConfiguration