@Override
	public void setValue(Object value) {
		if (value == null) {
			setAsText("");
		}
		else if (value instanceof String s) {
			setAsText(s);
		}
	}
Bean editor to show a text field and a browse button to bring
up a Domain File Chooser dialog.  The path of the chosen domain file is returned as
a String value.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/analysis/ProjectPathChooserEditor.java