Eclipse PDE Release 3.7

## Uses of Class
org.eclipse.pde.ui.templates.TemplateOption

Packages that use TemplateOption
org.eclipse.pde.ui.templates

Uses of TemplateOption in org.eclipse.pde.ui.templates

Subclasses of TemplateOption in org.eclipse.pde.ui.templates
`class` `AbstractChoiceOption` Abstract implementation of the TemplateOption that allows users to choose a value from the fixed set of options.
`class` `BlankField` This template option can be used to create blank space on the template section wizard page.
`class` `BooleanOption` This implementation of the TemplateOption can be used to represent options that are boolean choices.
`class` `ChoiceOption` Deprecated. see `RadioChoiceOption` and `ComboChoiceOption`
`class` `ComboChoiceOption` Implementation of the AbstractTemplateOption that allows users to choose a value from the fixed set of options using a combo box.
`class` `RadioChoiceOption` Implementation of the AbstractTemplateOption that allows users to choose a value from the fixed set of options using radio buttons.
`class` `StringOption` This template option can be used to collect string option from the user in the template section wizard page.

Methods in org.eclipse.pde.ui.templates that return TemplateOption
`protected TemplateOption` `BaseOptionTemplateSection.addBlankField(int pageIndex)` Adds a blank field with a default height to provide spacing.
`protected TemplateOption` `BaseOptionTemplateSection.addBlankField(int height, int pageIndex)` Adds a blank field with a specific height to provide spacing.
`protected TemplateOption` `BaseOptionTemplateSection.addOption(String name, String label, boolean value, int pageIndex)` Adds a boolean option with a provided name, label and initial value.
`protected TemplateOption` `BaseOptionTemplateSection.addOption(String name, String label, String[][] choices, String value, int pageIndex)` Adds a choice option with a provided name, label, list of choices and the initial value (choice).
`protected TemplateOption` `BaseOptionTemplateSection.addOption(String name, String label, String value, int pageIndex)` Adds a string option with a provided name, label and initial value.
`TemplateOption[]` `OptionTemplateSection.getOptions(int pageIndex)` Returns options that belong to the page with the given index.
`TemplateOption[]` `OptionTemplateSection.getOptions(WizardPage page)` Returns options that are added to the provided wizard page.

Methods in org.eclipse.pde.ui.templates with parameters of type TemplateOption
`protected void` `OptionTemplateSection.flagMissingRequiredOption(TemplateOption option)` Locates the page that this option is presented in and flags that the option is required and is currently not set.
`int` `OptionTemplateSection.getPageIndex(TemplateOption option)` Returns the zero-based index of a page that hosts the the given option.
`protected void` `OptionTemplateSection.registerOption(TemplateOption option, Object value, int pageIndex)`
`protected void` `BaseOptionTemplateSection.registerOption(TemplateOption option, Object value, int pageIndex)` Registers the provided option and sets the initial value.
`void` `OptionTemplateSection.validateOptions(TemplateOption source)` Validate options given a template option
`abstract void` `BaseOptionTemplateSection.validateOptions(TemplateOption changed)` Subclasses must implement this method in order to validate options whose value have been changed by the user.

Eclipse PDE Release 3.7

Guidelines for using Eclipse APIs.

Copyright (c) 2000, 2011 IBM Corporation and others. All rights reserved.