private void languageSelected(LanguageCompilerSpecPair lcs) {
		LanguageID langId = null;
		CompilerSpecID compilerSpecID = null;
		if (lcs != null) {
			langId = lcs.languageID;
			compilerSpecID = lcs.compilerSpecID;
		}

		if ((currentLcsPair != null) && (langId != null) &&
			(langId.equals(currentLcsPair.getLanguageID()))) {
			if (compilerSpecID != null &&
				compilerSpecID.equals(currentLcsPair.getCompilerSpecID())) {
				setStatusText("Please select a different Language or Compiler Spec.");
				setOkEnabled(false);
			}
			else {
				setStatusText(null);
				setOkEnabled(true);
			}
			return;
		}

		setStatusText(null);
		setOkEnabled(langId != null);
	}
Construct set Language/Compiler-Spec dialog
@param tool parent tool
@param lcsPair language/compiler-spec ID pair or null
@param title dialog title
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/processors/SetLanguageDialog.java