docstr: Display a UI for editing
docstr_tok: ["Display","a","UI","for","editing"]
code: def handle_interaction(self, pixel_data, image_set_number):
      """Display a UI for editing"""
      from cellprofiler.gui.editobjectsdlg import EditObjectsDialog
      from wx import OK
  
      title = "%s #%d, image cycle #%d: " % (
          self.module_name,
          self.module_num,
          image_set_number,
      )
      title += (
          "Create, remove and edit %s. \n" % self.objects_name.value
      )
      title += 'Press "F" to being freehand drawing.\n'
      title += "Click Help for full instructions."
      with EditObjectsDialog(
          pixel_data,
          [numpy.zeros(pixel_data.shape[:2], numpy.uint32)],
          False,
          title,
      ) as dialog_box:
          result = dialog_box.ShowModal()
          if result != OK:
              return None
          return dialog_box.labels[0]
  
imports: from cellprofiler_core.module import Identify
  from cellprofiler_core.setting.subscriber import ImageSubscriber
  from cellprofiler_core.setting.text import LabelName
  from cellprofiler_core.utilities.core.module.identify import add_object_location_measurements, add_object_count_measurements, get_object_measurement_columns
  from cellprofiler.modules import _help
  import numpy
  from cellprofiler_core.object import Objects
label_desc: Use image node_id 7 for calling the IdentifyObjectsManually obj's underlying member method code with example usage: obj.handle_interaction(pixel_data, image_set_number) and returns: dialog_box, None