new mode that displays non-file information

Hi,

I wanted to add a button to filemanager to display some diagnostic information. I added the new mode button in onViewInit. But now I want to populate a two column table with diagnostif information (not the files). How can i do something like this?