def METHOD_NAME(self, metadata):
    """Set up the widget based on incoming metadata"""
    self.metadata = metadata
    self._populate_from_metadata()
    self.widget.removeButton.setDisabled(True)
    self.widget.METHOD_NAME()