Uses of Class
org.eclipse.pde.ui.templates.TemplateOption
Package
Description
Application programming interfaces for contributing to and extending PDE project templates.
-
Uses of TemplateOption in org.eclipse.pde.ui.templates
Modifier and TypeClassDescriptionclass
Abstract implementation of the TemplateOption that allows users to choose a value from the fixed set of options.class
This template option can be used to create blank space on the template section wizard page.class
This implementation of the TemplateOption can be used to represent options that are boolean choices.class
Deprecated.class
Implementation of the AbstractTemplateOption that allows users to choose a value from the fixed set of options using a combo box.class
Implementation of the AbstractTemplateOption that allows users to choose a value from the fixed set of options using radio buttons.class
This template option can be used to collect string option from the user in the template section wizard page.Modifier and TypeMethodDescriptionprotected 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
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
Adds a string option with a provided name, label and initial value.OptionTemplateSection.getOptions
(int pageIndex) Returns options that belong to the page with the given index.OptionTemplateSection.getOptions
(WizardPage page) Returns options that are added to the provided wizard page.Modifier and TypeMethodDescriptionprotected 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
BaseOptionTemplateSection.registerOption
(TemplateOption option, Object value, int pageIndex) Registers the provided option and sets the initial value.protected void
OptionTemplateSection.registerOption
(TemplateOption option, Object value, int pageIndex) abstract void
BaseOptionTemplateSection.validateOptions
(TemplateOption changed) Subclasses must implement this method in order to validate options whose value have been changed by the user.void
OptionTemplateSection.validateOptions
(TemplateOption source) Validate options given a template optionModifierConstructorDescriptionOptionTemplateWizardPage
(BaseOptionTemplateSection section, ArrayList<TemplateOption> options, String helpContextId) The constructor.
RadioChoiceOption
andComboChoiceOption