| java.lang.Object org.eclipse.pde.ui.templates.TemplateField org.eclipse.pde.ui.templates.TemplateOption org.eclipse.pde.ui.templates.AbstractChoiceOption org.eclipse.pde.ui.templates.RadioChoiceOption
RadioChoiceOption | public class RadioChoiceOption extends AbstractChoiceOption (Code) | | Implementation of the AbstractTemplateOption that allows users to choose a value from
the fixed set of options using radio buttons.
since: 3.2 |
Constructor Summary | |
public | RadioChoiceOption(BaseOptionTemplateSection section, String name, String label, String[][] choices) Constructor for RadioChoiceOption.
Number of choices must be 2, otherwise an assertion will fail.
Parameters: section - the parent section. Parameters: name - the unique name Parameters: label - the presentable label Parameters: choices - the list of choices from which the value can be chosen. |
RadioChoiceOption | public RadioChoiceOption(BaseOptionTemplateSection section, String name, String label, String[][] choices)(Code) | | Constructor for RadioChoiceOption.
Number of choices must be 2, otherwise an assertion will fail.
Parameters: section - the parent section. Parameters: name - the unique name Parameters: label - the presentable label Parameters: choices - the list of choices from which the value can be chosen. Thislist must be of size 2.Each array entry should be an array of size 2, where position 0will be interpeted as the choice unique name, and position 1as the choice presentable label. |
createControl | public void createControl(Composite parent, int span)(Code) | | |
selectOptionChoice | protected void selectOptionChoice(String choice)(Code) | | |
setOptionEnabled | protected void setOptionEnabled(boolean enabled)(Code) | | |
setOptionValue | protected void setOptionValue(Object value)(Code) | | |
Fields inherited from org.eclipse.pde.ui.templates.AbstractChoiceOption | protected String[][] fChoices(Code)(Java Doc)
|
|
|