private ScreenElement getExternalPathScreenElement(Program p, String libName) {

		ExternalManager externalManager = p.getExternalManager();
		if (Library.UNKNOWN.equals(libName)) {
			return OptionsGui.EXT_REF_UNRESOLVED;
		}

		String path = externalManager.getExternalLibraryPath(libName);
		if (path == null || path.length() == 0) {
			return OptionsGui.EXT_REF_UNRESOLVED;
		}
		return OptionsGui.EXT_REF_RESOLVED;
	}
Get the ScreenElement corresponding to the type of the reference.
@param p the program
@param r the reference to inspect
@return the screen element
Ghidra/Features/Base/src/main/java/ghidra/app/util/SymbolInspector.java