@Override
	public void actionPerformed(Program program, List<ProgramLocation> dataLocations) {
		ToggleShowTranslationTask task = new ToggleShowTranslationTask(program, dataLocations);
		TaskLauncher.launch(task);
	}
Action for toggling whether or not to display translated strings or the original string.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/string/translate/ToggleShowTranslationAction.java