public void widgetSelected(SelectionEvent e) { boolean enabled= fEnablementCheckbox.getSelection(); fStore.setValue(SpellingService.PREFERENCE_SPELLING_ENABLED, enabled); updateCheckboxDependencies(); }
@Override public void widgetSelected(SelectionEvent e) { for (int i= 0; i < fQuickDiffModel.length; i++) { fStore.setValue(fQuickDiffModel[i][1], fQuickDiffOverviewRulerCheckBox.getSelection()); } }
public void widgetSelected(SelectionEvent e) { boolean value= checkBox.getSelection(); fStore.setValue(key, value); } });
@Override public void widgetSelected(SelectionEvent e) { boolean enabled= fEnablementCheckbox.getSelection(); fStore.setValue(SpellingService.PREFERENCE_SPELLING_ENABLED, enabled); updateEnablement(); }
public void widgetSelected(SelectionEvent e) { boolean enabled= fEnablementCheckbox.getSelection(); fStore.setValue(SpellingService.PREFERENCE_SPELLING_ENABLED, enabled); updateEnablement(); }
@Override public void widgetSelected(SelectionEvent e) { boolean enabled= fEnablementCheckbox.getSelection(); fStore.setValue(SpellingService.PREFERENCE_SPELLING_ENABLED, enabled); updateCheckboxDependencies(); }
@Override public void modifyText(ModifyEvent e) { String value= textControl.getText(); if (key != null) fStore.setValue(key, value); } });
@Override public void widgetSelected(SelectionEvent e) { Button button= (Button) e.widget; fStore.setValue(fCheckBoxes.get(button), button.getSelection()); } };
public void widgetSelected(SelectionEvent e) { ListItem item= getSelectedItem(); fStore.setValue(item.overviewRulerKey, fShowInOverviewRulerCheckBox.getSelection()); fAnnotationTypeViewer.refresh(item); } });
@Override public void widgetSelected(SelectionEvent e) { ListItem item= getSelectedItem(); fStore.setValue(item.verticalRulerKey, fShowInVerticalRulerCheckBox.getSelection()); fAnnotationTypeViewer.refresh(item); } });
public void widgetSelected(SelectionEvent e) { ListItem item= getSelectedItem(); fStore.setValue(item.verticalRulerKey, fShowInVerticalRulerCheckBox.getSelection()); fAnnotationTypeViewer.refresh(item); } });
public void widgetSelected(SelectionEvent e) { boolean systemDefault= fAppearanceColorDefault.getSelection(); fAppearanceColorEditor.getButton().setEnabled(!systemDefault); int i= fAppearanceColorList.getSelectionIndex(); if (i == -1) return; String key= fAppearanceColorListModel[i][2]; if (key != null) fOverlayStore.setValue(key, systemDefault); } public void widgetDefaultSelected(SelectionEvent e) {}
@Override public void checkStateChanged(CheckStateChangedEvent event) { String id= ((ListItem)event.getElement()).id; if (id == null) return; fStore.setValue(id, !event.getChecked()); } });
@Override public void widgetSelected(SelectionEvent e) { boolean value= checkBox.getSelection(); IStatus status= domain.validate(Boolean.valueOf(value)); if (!status.matches(IStatus.ERROR)) fDialogOverlayStore.setValue(preference.getKey(), value); } });
public void widgetSelected(SelectionEvent e) { boolean value= checkBox.getSelection(); IStatus status= domain.validate(Boolean.valueOf(value)); if (!status.matches(IStatus.ERROR)) fOverlayStore.setValue(preference.getKey(), value); updateStatus(status); } });
public void widgetSelected(SelectionEvent e) { boolean value= checkBox.getSelection(); IStatus status= domain.validate(Boolean.valueOf(value)); if (!status.matches(IStatus.ERROR)) fOverlayStore.setValue(preference.getKey(), value); updateStatus(status); } });
@Override public void modifyText(ModifyEvent e) { String value= textControl.getText(); IStatus status= domain.validate(value); if (!status.matches(IStatus.ERROR)) fOverlayStore.setValue(preference.getKey(), value); updateStatus(domain); } });
@Override public void widgetSelected(SelectionEvent e) { int index= spinner.getSelection(); EnumValue value= domain.getValueByInteger(index); IStatus status= domain.validate(value); if (!status.matches(IStatus.ERROR)) fOverlayStore.setValue(preference.getKey(), value.getIntValue()); updateStatus(status); } });
@Override public void widgetSelected(SelectionEvent e) { int index= combo.getSelectionIndex(); EnumValue value= domain.getValueByIndex(index); IStatus status= domain.validate(value); if (!status.matches(IStatus.ERROR)) fOverlayStore.setValue(preference.getKey(), value.getIntValue()); updateStatus(status); } });
public void widgetSelected(SelectionEvent e) { int index= spinner.getSelection(); EnumValue value= domain.getValueByInteger(index); IStatus status= domain.validate(value); if (!status.matches(IStatus.ERROR)) fOverlayStore.setValue(preference.getKey(), value.getIntValue()); updateStatus(status); } });