public abstract class AbstractValidatorConfigurationBlock extends OptionsConfigurationBlock
OptionsConfigurationBlock.BuildJob, OptionsConfigurationBlock.ControlData
checkBoxes, comboBoxes, expandedComposites, keys, labels, preferenceStoreAccessImpl, project, statusChangeListener, textBoxes
Modifier | Constructor and Description |
---|---|
protected |
AbstractValidatorConfigurationBlock() |
Modifier and Type | Method and Description |
---|---|
protected void |
addAdditionalComponentsToSettingsPage(org.eclipse.swt.widgets.Composite settingsPage,
int nColumns,
int defaultIndent) |
protected void |
adjustComboWidth(java.util.List<org.eclipse.swt.widgets.Combo> combos)
Computes the common width hint (the largest width) and set it as
GridData.widthHint for all combos, if
the combo has a GridData as CellEditor.LayoutData . |
protected org.eclipse.swt.widgets.Composite |
createSection(java.lang.String label,
org.eclipse.swt.widgets.Composite composite,
int nColumns) |
org.eclipse.swt.widgets.Control |
doCreateContents(org.eclipse.swt.widgets.Composite parent) |
protected abstract void |
fillSettingsPage(org.eclipse.swt.widgets.Composite composite,
int nColumns,
int defaultIndent) |
protected org.eclipse.jface.dialogs.IDialogSettings |
getDialogSettings()
This implementation returns Dialog settings which were bind in
DefaultUiModule
normally AbstractUIPlugin.getDialogSettings() Subclasses should override to get special section settings. |
java.lang.String |
getPropertyPrefix() |
addCheckBox, addCheckboxWithData, addComboBox, addTextField, collectRegistredKeys, controlChanged, createContents, createStyleSection, dispose, expandedStateChanged, getBuildJob, getFullBuildDialogStrings, getIsProjectSpecificPropertyKey, getPreferenceChanges, getProject, getSelectionListener, getShell, getTextModifyListener, getValue, hasProjectSpecificOptions, isPrprojectSpecificPropertyKey, newComboControl, performApply, performDefaults, performOk, processChanges, registerKey, restoreSectionExpansionStates, savePreferences, setPreferenceStore, setProject, setShell, setStatusChangeListener, setToDefault, setValue, setWorkbenchPreferenceContainer, storeSectionExpansionStates, textChanged, updateCheckBox, updateCombo, updateControls, updateText, useProjectSpecificSettings, validateSettings
protected AbstractValidatorConfigurationBlock()
public org.eclipse.swt.widgets.Control doCreateContents(org.eclipse.swt.widgets.Composite parent)
doCreateContents
in class OptionsConfigurationBlock
protected org.eclipse.jface.dialogs.IDialogSettings getDialogSettings()
DefaultUiModule
normally AbstractUIPlugin.getDialogSettings()
protected IDialogSettings getDialogSettings() {
IDialogSettings dialogSettings = super.getDialogSettings();
IDialogSettings section = dialogSettings.getSection(SETTINGS_SECTION_NAME);
if(section==null) {
return dialogSettings.addNewSection(SETTINGS_SECTION_NAME);
}
return section;
}
DefaultUiModule
protected void addAdditionalComponentsToSettingsPage(org.eclipse.swt.widgets.Composite settingsPage, int nColumns, int defaultIndent)
protected void adjustComboWidth(java.util.List<org.eclipse.swt.widgets.Combo> combos)
GridData.widthHint
for all combos, if
the combo has a GridData
as CellEditor.LayoutData
.protected abstract void fillSettingsPage(org.eclipse.swt.widgets.Composite composite, int nColumns, int defaultIndent)
protected org.eclipse.swt.widgets.Composite createSection(java.lang.String label, org.eclipse.swt.widgets.Composite composite, int nColumns)
public java.lang.String getPropertyPrefix()
getPropertyPrefix
in class OptionsConfigurationBlock