if (fTaskTagRule != null) { if (event.getProperty().equals(COMPILER_TASK_TAGS)) { Object value= event.getNewValue(); if (value instanceof String) { fTaskTagRule.clearTaskTags(); fTaskTagRule.addTaskTags((String) value); } } else if (event.getProperty().equals(COMPILER_TASK_CASE_SENSITIVE)) { Object value= event.getNewValue(); if (value instanceof String) fTaskTagRule.setCaseSensitive(ENABLED.equals(value));
if (fTaskTagRule != null && event.getProperty().equals(COMPILER_TASK_TAGS)) { Object value= event.getNewValue(); if (value instanceof String) { fTaskTagRule.clearTaskTags(); fTaskTagRule.addTaskTags((String) value);
	public void adaptToPreferenceChange(PropertyChangeEvent event) {		if (fTaskTagRule != null) {			if (event.getProperty().equals(COMPILER_TASK_TAGS)) {				Object value= event.getNewValue();				if (value instanceof String) {					fTaskTagRule.clearTaskTags();					fTaskTagRule.addTaskTags((String) value);				}			} else if (event.getProperty().equals(COMPILER_TASK_CASE_SENSITIVE)) {				Object value= event.getNewValue();				if (value instanceof String)					fTaskTagRule.setCaseSensitive(ENABLED.equals(value));			}		} else if (super.affectsBehavior(event)) {			super.adaptToPreferenceChange(event);		}	}