| java.lang.Object org.eclipse.jdt.internal.ui.preferences.OptionsConfigurationBlock
All known Subclasses: org.eclipse.jdt.internal.ui.preferences.SpellingConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.CodeAssistAdvancedConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.TodoTaskConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.JavadocProblemsConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.ImportOrganizeConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.CodeTemplateBlock, org.eclipse.jdt.internal.ui.preferences.CodeAssistFavoritesConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.ProblemSeveritiesConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.NameConventionConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.ComplianceConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.JavaBuildConfigurationBlock, org.eclipse.jdt.internal.ui.preferences.CodeAssistConfigurationBlock,
OptionsConfigurationBlock | abstract public class OptionsConfigurationBlock (Code) | | Abstract options configuration block providing a general implementation for setting up
an options configuration page.
since: 2.1 |
Inner Class :final public static class Key | |
Inner Class :protected static class ControlData | |
Method Summary | |
protected Button | addCheckBox(Composite parent, String label, Key key, String[] values, int indent) | protected Button | addCheckBoxWithLink(Composite parent, String label, Key key, String[] values, int indent, int widthHint, SelectionListener listener) | protected Combo | addComboBox(Composite parent, String label, Key key, String[] values, String[] valueLabels, int indent) | protected Combo | addInversedComboBox(Composite parent, String label, Key key, String[] values, String[] valueLabels, int indent) | protected Text | addTextField(Composite parent, String label, Key key, int indent, int widthHint) | public boolean | areSettingsEnabled() | protected boolean | checkValue(Key key, String value) | protected void | controlChanged(Widget widget) | abstract protected Control | createContents(Composite parent) | protected ExpandableComposite | createStyleSection(Composite parent, String label, int nColumns) | public void | dispose() | final protected void | expandedStateChanged(ExpandableComposite expandable) | protected Control | findControl(Key key) | protected boolean | getBooleanValue(Key key) | protected Button | getCheckBox(Key key) | protected Combo | getComboBox(Key key) | abstract protected String[] | getFullBuildDialogStrings(boolean workspaceSettings) | final protected static Key | getJDTCoreKey(String key) | final protected static Key | getJDTUIKey(String key) | protected static Key | getKey(String plugin, String key) | protected ExpandableComposite | getParentExpandableComposite(Control control) | protected ScrolledPageContent | getParentScrolledComposite(Control control) | final protected IWorkbenchPreferenceContainer | getPreferenceContainer() | protected SelectionListener | getSelectionListener() | protected Shell | getShell() | protected String | getStoredValue(Key key) Returns the value as actually stored in the preference store. | protected Text | getTextControl(Key key) | protected ModifyListener | getTextModifyListener() | protected String[] | getTokens(String text, String separator) | protected String | getValue(Key key) | public boolean | hasProjectSpecificOptions(IProject project) | protected Combo | newComboControl(Composite composite, Key key, String[] values, String[] valueLabels) | public boolean | performApply() | public void | performDefaults() | public boolean | performOk() | public void | performRevert() | protected boolean | processChanges(IWorkbenchPreferenceContainer container) | protected void | restoreSectionExpansionStates(IDialogSettings settings) | public void | selectOption(String key, String qualifier) | public void | selectOption(Key key) | protected void | setComboEnabled(Key key, boolean enabled) | protected void | setShell(Shell shell) | protected String | setValue(Key key, String value) | protected String | setValue(Key key, boolean value) | protected void | settingsUpdated() | protected void | storeSectionExpansionStates(IDialogSettings settings) | protected void | textChanged(Text textControl) | protected void | updateCheckBox(Button curr) | protected void | updateCombo(Combo curr) | protected void | updateControls() | protected void | updateText(Text curr) | public void | useProjectSpecificSettings(boolean enable) | abstract protected void | validateSettings(Key changedKey, String oldValue, String newValue) |
fAllKeys | final protected Key[] fAllKeys(Code) | | |
fProject | final protected IProject fProject(Code) | | |
OptionsConfigurationBlock | public OptionsConfigurationBlock(IStatusChangeListener context, IProject project, Key[] allKeys, IWorkbenchPreferenceContainer container)(Code) | | |
addCheckBox | protected Button addCheckBox(Composite parent, String label, Key key, String[] values, int indent)(Code) | | |
addCheckBoxWithLink | protected Button addCheckBoxWithLink(Composite parent, String label, Key key, String[] values, int indent, int widthHint, SelectionListener listener)(Code) | | |
addComboBox | protected Combo addComboBox(Composite parent, String label, Key key, String[] values, String[] valueLabels, int indent)(Code) | | |
addInversedComboBox | protected Combo addInversedComboBox(Composite parent, String label, Key key, String[] values, String[] valueLabels, int indent)(Code) | | |
addTextField | protected Text addTextField(Composite parent, String label, Key key, int indent, int widthHint)(Code) | | |
areSettingsEnabled | public boolean areSettingsEnabled()(Code) | | |
checkValue | protected boolean checkValue(Key key, String value)(Code) | | |
controlChanged | protected void controlChanged(Widget widget)(Code) | | |
createContents | abstract protected Control createContents(Composite parent)(Code) | | |
createStyleSection | protected ExpandableComposite createStyleSection(Composite parent, String label, int nColumns)(Code) | | |
dispose | public void dispose()(Code) | | |
expandedStateChanged | final protected void expandedStateChanged(ExpandableComposite expandable)(Code) | | |
findControl | protected Control findControl(Key key)(Code) | | |
getBooleanValue | protected boolean getBooleanValue(Key key)(Code) | | |
getCheckBox | protected Button getCheckBox(Key key)(Code) | | |
getComboBox | protected Combo getComboBox(Key key)(Code) | | |
getFullBuildDialogStrings | abstract protected String[] getFullBuildDialogStrings(boolean workspaceSettings)(Code) | | |
getJDTCoreKey | final protected static Key getJDTCoreKey(String key)(Code) | | |
getJDTUIKey | final protected static Key getJDTUIKey(String key)(Code) | | |
getParentExpandableComposite | protected ExpandableComposite getParentExpandableComposite(Control control)(Code) | | |
getPreferenceContainer | final protected IWorkbenchPreferenceContainer getPreferenceContainer()(Code) | | |
getSelectionListener | protected SelectionListener getSelectionListener()(Code) | | |
getShell | protected Shell getShell()(Code) | | |
getStoredValue | protected String getStoredValue(Key key)(Code) | | Returns the value as actually stored in the preference store.
Parameters: key - the value as actually stored in the preference store. |
getTextControl | protected Text getTextControl(Key key)(Code) | | |
getTextModifyListener | protected ModifyListener getTextModifyListener()(Code) | | |
hasProjectSpecificOptions | public boolean hasProjectSpecificOptions(IProject project)(Code) | | |
newComboControl | protected Combo newComboControl(Composite composite, Key key, String[] values, String[] valueLabels)(Code) | | |
performApply | public boolean performApply()(Code) | | |
performDefaults | public void performDefaults()(Code) | | |
performOk | public boolean performOk()(Code) | | |
performRevert | public void performRevert()(Code) | | since: 3.1 |
processChanges | protected boolean processChanges(IWorkbenchPreferenceContainer container)(Code) | | |
restoreSectionExpansionStates | protected void restoreSectionExpansionStates(IDialogSettings settings)(Code) | | |
selectOption | public void selectOption(Key key)(Code) | | |
setComboEnabled | protected void setComboEnabled(Key key, boolean enabled)(Code) | | |
setShell | protected void setShell(Shell shell)(Code) | | |
setValue | protected String setValue(Key key, boolean value)(Code) | | |
settingsUpdated | protected void settingsUpdated()(Code) | | |
storeSectionExpansionStates | protected void storeSectionExpansionStates(IDialogSettings settings)(Code) | | |
textChanged | protected void textChanged(Text textControl)(Code) | | |
updateCheckBox | protected void updateCheckBox(Button curr)(Code) | | |
updateCombo | protected void updateCombo(Combo curr)(Code) | | |
updateControls | protected void updateControls()(Code) | | |
updateText | protected void updateText(Text curr)(Code) | | |
useProjectSpecificSettings | public void useProjectSpecificSettings(boolean enable)(Code) | | |
validateSettings | abstract protected void validateSettings(Key changedKey, String oldValue, String newValue)(Code) | | |
|
|