public abstract class AbstractValidatorConfigurationBlock extends OptionsConfigurationBlock
OptionsConfigurationBlock.BuildJob, OptionsConfigurationBlock.ControlDatacheckBoxes, 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(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(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. |
String |
getPropertyPrefix() |
addCheckBox, addCheckboxWithData, addComboBox, addTextField, collectRegistredKeys, controlChanged, createContents, createStyleSection, dispose, expandedStateChanged, getBuildJob, getFullBuildDialogStrings, getIsProjectSpecificPropertyKey, getPreferenceChanges, getProject, getSelectionListener, getShell, getTextModifyListener, getValue, hasProjectSpecificOptions, isProjectSpecificPropertyKey, newComboControl, performApply, performDefaults, performOk, processChanges, registerKey, restoreSectionExpansionStates, savePreferences, setPreferenceStore, setProject, setShell, setStatusChangeListener, setToDefault, setValue, setWorkbenchPreferenceContainer, storeSectionExpansionStates, textChanged, updateCheckBox, updateCombo, updateControls, updateText, useProjectSpecificSettings, validateSettingsprotected AbstractValidatorConfigurationBlock()
public org.eclipse.swt.widgets.Control doCreateContents(org.eclipse.swt.widgets.Composite parent)
doCreateContents in class OptionsConfigurationBlockprotected 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;
}
DefaultUiModuleprotected void addAdditionalComponentsToSettingsPage(org.eclipse.swt.widgets.Composite settingsPage,
int nColumns,
int defaultIndent)
protected void adjustComboWidth(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(String label, org.eclipse.swt.widgets.Composite composite, int nColumns)
public String getPropertyPrefix()
getPropertyPrefix in class OptionsConfigurationBlockCopyright © 2016. All Rights Reserved.