public boolean fieldOptionsChanged(Options options, String optionName, Object oldValue,
			Object newValue) {
		if (optionName.equals(SIMPLIFY_TEMPLATES_OPTION)) {
			doSimplify = (Boolean) newValue;
			return true;
		}
		if (optionName.equals(TEMPLATE_NESTING_DEPTH_OPTION)) {
			templateNestingDepth = (Integer) newValue;
			return true;
		}
		if (optionName.equals(MAX_TEMPLATE_LENGTH_OPTION)) {
			maxTemplateLength = (Integer) newValue;
			return true;
		}
		if (optionName.equals(MIN_TEMPLATE_LENGTH_OPTION)) {
			minTemplateLength = (Integer) newValue;
			return true;
		}

		return false;
	}
Notification that options have changed
@param options the options object that has changed values
@param optionName the name of the options that changed
@param oldValue the old value for the option that changed
@param newValue the new value for the option that changed
@return true if the option that changed was a template simplification option
Ghidra/Features/Base/src/main/java/ghidra/app/util/template/TemplateSimplifier.java