@Override
	public void copySetting(Settings srcSettings, Settings destSettings) {
		Long l = srcSettings.getLong(settingName);
		if (l == null) {
			clear(destSettings);
		}
		else {
			setChoice(destSettings, (int) (long) l);
		}
	}
returns the Enum's ordinal using the Enum's string representation.

@param stringValue Enum's string rep
@return integer index of the Enum
Ghidra/Framework/Docking/src/main/java/ghidra/docking/settings/JavaEnumSettingsDefinition.java