public void writeState(SaveState saveState) {

		String ksString = "";
		if (keyStroke != null) {
			ksString = keyStroke.toString();
		}
		saveState.putString(KEY_STROKE, ksString);

		String mbString = "";
		if (mouseBinding != null) {
			mbString = mouseBinding.toString();
		}
		saveState.putString(MOUSE_BINDING, mbString);
	}
Writes this action trigger's data into the given save state.
@param saveState the save state
Ghidra/Framework/Gui/src/main/java/ghidra/framework/options/ActionTrigger.java