@Override
	public void actionPerformed(ActionContext context) {
		FindAppliedDataTypesService service = tool.getService(FindAppliedDataTypesService.class);
		if (service == null) {
			Msg.showError(this, null, "Missing Plugin",
				"The %s is not installed.\nPlease add the plugin implementing this service."
						.formatted(FindAppliedDataTypesService.class.getSimpleName()));
			return;
		}

		FieldMatcher fieldMatcher = getFieldMatcher();
		Composite composite = model.getOriginalComposite();
		Swing.runLater(
			() -> service.findAndDisplayAppliedDataTypeAddresses(composite, fieldMatcher));
	}
An action to show references to the field in the currently selected editor row.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/FindReferencesToStructureFieldAction.java