@Override
	public void optionsChanged(ToolOptions newOptions, String optionName, Object oldValue,
			Object newValue) {
		if (!modelUpdateInProgress && SUB_OPTION.equals(optionName)) {
			setPreferedModel(newOptions);
		}
	}
Handle an option change
@param newOptions options object containing the property that changed
@param optionName name of option that changed
@param oldValue old value of the option
@param newValue new value of the option
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/blockmodel/BlockModelServicePlugin.java