private boolean parseTextEntry() {

		if (StringUtils.isBlank(selectionField.getText())) {
			return false;
		}

		String text = selectionField.getText();
		ScriptInfo info = scriptMap.get(text);
		if (info != null) {
			selectionField.setSelectedValue(info);
			return true;
		}
		return false;
	}
Returns true if the value of this editor is valid.  Clients can use this to verify that the
user text is a valid script selection.
@return true if the valid of this editor is valid.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/ScriptSelectionEditor.java