Display text in a 3D view

Sorry, I think I haven’t explained myself correctly. I created a Module which generates model objets. I need each model to display text information in the 3D View when the eye icon is open.