@Override
	public void optionsChanged(ToolOptions options, String optionName, Object oldValue,
			Object newValue) throws OptionsVetoException {

		Options callGraphOptions = options.getOptions(NAME);
		fcgOptions.loadOptions(callGraphOptions);
		provider.optionsChanged();
	}
Plugin to show a graph of function calls for a given function
Ghidra/Features/GraphFunctionCalls/src/main/java/functioncalls/plugin/FunctionCallGraphPlugin.java