@cached_property<EOL><INDENT>def widgets(self):<DEDENT>
widgets = [<EOL>self.plugin_manager.create_widget(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>file=self,<EOL>endpoint='<STR_LIT>'<EOL>)<EOL>]<EOL>if self.can_download:<EOL><INDENT>widgets.append(<EOL>self.plugin_manager.create_widget(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>file=self,<EOL>css='<STR_LIT>',<EOL>endpoint='<STR_LIT>'<EOL>)<EOL>)<EOL><DEDENT>return widgets + super(File, self).widgets<EOL>
List widgets with filter return True for this file (or without filter).

Entry link is prepended.
Download button is prepended if :property:can_download returns true.
Remove button is prepended if :property:can_remove returns true.

:returns: list of widgets
:rtype: list of namedtuple instances