Package | Description |
---|---|
org.eclipse.pde.ui.templates |
Application programming interfaces for contributing to and extending PDE project templates.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 option
|
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.