Package org.eclipse.wst.xsl.ui.internal.preferences
package-private class AbstractValidationSettingsPage extends org.eclipse.wst.xsl.ui.internal.preferences.PropertyPreferencePageBased on org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock
Constructor Summary |
AbstractValidationSettingsPage() |
Method Summary | |
protected Combo | addComboBox(Composite parent
,
java.lang.String label
,
java.lang.String key
,
int[] values
,
java.lang.String[] valueLabels
,
int indent) Creates a Combo widget in the composite parent . The data
in the Combo is associated with key . The Combo data is
generated based on the integer values where the index
of values corresponds to the index of valueLabels |
protected void | controlChanged(Widget widget) |
protected ExpandableComposite | createTwistie(Composite parent
,
java.lang.String label
,
int nColumns) |
protected void | expandedStateChanged(ExpandableComposite expandable) |
protected ExpandableComposite | getParentExpandableComposite(Control control) |
protected ScrolledPageContent | getParentScrolledComposite(Control control) |
protected SelectionListener | getSelectionListener() |
protected Combo | newComboControl(Composite composite
,
java.lang.String key
,
int[] values
,
java.lang.String[] valueLabels) Creates a combo box and associates the combo data with the combo box. |
public boolean | performOk() |
protected void | resetSeverities() |
protected void | restoreSectionExpansionStates(IDialogSettings settings) |
protected boolean | shouldRevalidateOnSettingsChange() |
protected void | storeSectionExpansionStates(IDialogSettings section) |
protected void | storeValues() |
Constructor Detail |
public AbstractValidationSettingsPage()
Methods Detail |
protected Combo addComboBox(Composite parent
,
java.lang.String label
,
java.lang.String key
,
int[] values
,
java.lang.String[] valueLabels
,
int indent)
Creates a Combo widget in the composite parent
. The data
in the Combo is associated with key
. The Combo data is
generated based on the integer values
where the index
of values
corresponds to the index of valueLabels
parent
- the composite to create the combo box in
label
- the label to give the combo box
key
- the unique key to identify the combo box
values
- the values represented by the combo options
valueLabels
- the calues displayed in the combo box
indent
- how far to indent the combo box label
Combo
- the generated combo box
protected void controlChanged(Widget widget)
widget
protected ExpandableComposite createTwistie(Composite parent
,
java.lang.String label
,
int nColumns)
parent
label
nColumns
ExpandableComposite
protected void expandedStateChanged(ExpandableComposite expandable)
expandable
protected ExpandableComposite getParentExpandableComposite(Control control)
control
ExpandableComposite
protected ScrolledPageContent getParentScrolledComposite(Control control)
control
ScrolledPageContent
protected SelectionListener getSelectionListener()
SelectionListener
protected Combo newComboControl(Composite composite
,
java.lang.String key
,
int[] values
,
java.lang.String[] valueLabels)
Creates a combo box and associates the combo data with the combo box.
composite
- the composite to create the combo box in
key
- the unique key to identify the combo box
values
- the values represented by the combo options
valueLabels
- the values displayed in the combo box
Combo
- the generated combo box
public boolean performOk()
boolean
protected void resetSeverities()
protected void restoreSectionExpansionStates(IDialogSettings settings)
settings
protected boolean shouldRevalidateOnSettingsChange()
boolean
protected void storeSectionExpansionStates(IDialogSettings section)
section
protected void storeValues()