def METHOD_NAME(self):
    self.breakpoint.type = BreakpointType(self._type_radio_group.checkedId())
    self.breakpoint.addr = self._address_box.target
    self.breakpoint.size = self._get_size()
    self.breakpoint.comment = self._comment_box.text()
    self.workspace.main_instance.breakpoint_mgr.breakpoints.am_event()
    self.accept()