@Override
	public boolean fieldElementClicked(Object clickedObject, Navigatable sourceNavigatable,
			ProgramLocation location, MouseEvent mouseEvent, ServiceProvider serviceProvider) {
		if (mouseEvent.getClickCount() != 2 || mouseEvent.getButton() != MouseEvent.BUTTON1) {
			return false;
		}
		return ((AnnotatedTextFieldElement) clickedObject).handleMouseClicked(sourceNavigatable,
			serviceProvider);
	}
A handler to process {@link ghidra.util.bean.field.AnnotatedTextFieldElement} clicks.
Ghidra/Features/Base/src/main/java/ghidra/app/util/viewer/field/AnnotatedStringFieldMouseHandler.java