Add a button in class to link the document

Hi all,

This is a problem of developing plugins.

Does anyone knows how to add a button in class like screenshot to link the document?

I want to add a button like screenshot in my class.

310144-open-doc.png