public class XtextValidatorConfigurationBlock extends AbstractValidatorConfigurationBlock
OptionsConfigurationBlock.BuildJob, OptionsConfigurationBlock.ControlData
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SETTINGS_SECTION_NAME |
checkBoxes, comboBoxes, expandedComposites, keys, labels, preferenceStoreAccessImpl, project, statusChangeListener, textBoxes
Constructor and Description |
---|
XtextValidatorConfigurationBlock() |
Modifier and Type | Method and Description |
---|---|
protected org.eclipse.swt.widgets.Combo |
addComboBox(java.lang.String prefKey,
java.lang.String label,
org.eclipse.swt.widgets.Composite parent,
int indent) |
void |
dispose() |
protected void |
fillEcoreModelSection(org.eclipse.swt.widgets.Composite section,
int defaultIndent) |
protected void |
fillGrammarSection(org.eclipse.swt.widgets.Composite section,
int defaultIndent) |
protected void |
fillSettingsPage(org.eclipse.swt.widgets.Composite composite,
int nColumns,
int defaultIndent) |
protected org.eclipse.core.runtime.jobs.Job |
getBuildJob(org.eclipse.core.resources.IProject project) |
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. |
protected java.lang.String[] |
getFullBuildDialogStrings(boolean workspaceSettings) |
protected void |
validateSettings(java.lang.String changedKey,
java.lang.String oldValue,
java.lang.String newValue) |
addAdditionalComponentsToSettingsPage, adjustComboWidth, createSection, doCreateContents, getPropertyPrefix
addCheckBox, addCheckboxWithData, addComboBox, addTextField, collectRegistredKeys, controlChanged, createContents, createStyleSection, expandedStateChanged, 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
public static final java.lang.String SETTINGS_SECTION_NAME
protected void fillSettingsPage(org.eclipse.swt.widgets.Composite composite, int nColumns, int defaultIndent)
fillSettingsPage
in class AbstractValidatorConfigurationBlock
protected void fillGrammarSection(org.eclipse.swt.widgets.Composite section, int defaultIndent)
protected void fillEcoreModelSection(org.eclipse.swt.widgets.Composite section, int defaultIndent)
protected org.eclipse.swt.widgets.Combo addComboBox(java.lang.String prefKey, java.lang.String label, org.eclipse.swt.widgets.Composite parent, int indent)
protected org.eclipse.core.runtime.jobs.Job getBuildJob(org.eclipse.core.resources.IProject project)
getBuildJob
in class OptionsConfigurationBlock
protected java.lang.String[] getFullBuildDialogStrings(boolean workspaceSettings)
getFullBuildDialogStrings
in class OptionsConfigurationBlock
protected void validateSettings(java.lang.String changedKey, java.lang.String oldValue, java.lang.String newValue)
validateSettings
in class OptionsConfigurationBlock
public void dispose()
dispose
in class OptionsConfigurationBlock
protected org.eclipse.jface.dialogs.IDialogSettings getDialogSettings()
AbstractValidatorConfigurationBlock
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;
}
getDialogSettings
in class AbstractValidatorConfigurationBlock
DefaultUiModule