I think there should be two steps:
1. find out all the Z* classes for the enhanced component/views;
2. find out the text elements for the Z* classes.
For point 1:
I''m not sure if there is exactly a single FM or report to get all the Z* classes for your enhanced component/views.
What I can think about is to make a ST12 trace(or SE30, ST05, etc) when I open an enhanced component/views in T-code bsp_wd_cmpwb. Here are some tables (but not all):
bspwd_comp_ext
BSPWD_CMP_C_REPL
O2PAGDIR (CL_O2_API_PAGES->READ_FROM_DB) --> only find part of Z classes, it seems context nodes classes are contained in other db tables
For point 2:
As to how to find the text elements of a class, maybe you should raise another thread in the ABAP spaces?
Best Regards, Corrine