private EquateRowObject getRowObject() {
		EquateRowObject equateEntry = filterPanel.getSelectedItem();

		// A selection was made in the table
		if (equateEntry != null) {
			return equateEntry;
		}

		// Nothing was typed or selected; return null.
		String equateFromFilter = filterPanel.getFilterText();
		if (StringUtils.isBlank(equateFromFilter)) {
			return null;
		}

		// If text field equals only one match, use that match.
		EquateRowObject match = getMatchFromTable(equateFromFilter);
		if (match != null) {
			return match;
		}
		return null;
	}
Get's the user selected entry in the dialog and returns the enum data type for that entry
@return the enum data type for the selected entry, or null if there is no enum.
Ghidra/Features/Base/src/main/java/ghidra/app/util/bean/SetEquateDialog.java