@Override
		public Component getTableCellRendererComponent(GTableCellRenderingData data) {

			// initialize
			super.getTableCellRendererComponent(data);

			LocationReference rowObject = (LocationReference) data.getRowObject();
			String refTypeString = getRefTypeString(rowObject, data.isSelected());
			if (refTypeString != null) {
				setText(refTypeString);
				return this;
			}

			// when the row object does not represent an applied reference, then it may have context
			LocationReferenceContext context = rowObject.getContext();
			String text = context.getBoldMatchingText();
			setText(text);
			return this;
		}
A table model that shows the same contents as the {@link AddressPreviewTableModel}, but will
also add a references table column when the underlying data contains references.  This model
uses data provided by a {@link LocationDescriptor}, which is contained by the given
{@link LocationReferencesProvider}.
<p>
This model also adds the functionality for clients to know when the model has finished loading
and it also allows users to reload the data.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/navigation/locationreferences/LocationReferencesTableModel.java