@staticmethod
def setup_file_filter(format_filter):
    """
        Used to set up filters for recently used files.
        """
    format_filter.set_name('odML Documents (*.xml, *.yaml, *.json, *.odml)')
    format_filter.add_mime_type('application/xml')
    format_filter.add_mime_type('text/xml')
    format_filter.add_pattern('*.xml')
    format_filter.add_pattern('*.yaml')
    format_filter.add_pattern('*.yml')
    format_filter.add_pattern('*.json')
    format_filter.add_pattern('*.odml')
