class_docstr: A row of controls for controlling objects
class_docstr_tok: ["A","row","of","controls","for","controlling","objects"]
code: def __init__(self, workspace_view, color, can_delete):
      super(WorkspaceViewObjectsRow, self).__init__(
          workspace_view, color, can_delete
      )
      self.update_chooser(first=True)
      name = self.chooser.GetStringSelection()
      self.data = bind_data_class(
          ObjectsData, self.color_ctrl, workspace_view.redraw
      )(
          name,
          None,
          outline_color=self.color,
          colormap=get_default_colormap(),
          alpha=0.5,
          mode=MODE_HIDE,
      )
      workspace_view.image.add(self.data)
      self.last_mode = MODE_LINES
  
file_path: CellProfiler/src/frontend/cellprofiler/gui/workspace_view/_workspace_view_objects_row.py
imports: from cellprofiler_core.preferences import get_default_colormap
  from ._workspace_view_row import WorkspaceViewRow
  from ..artist import MODE_HIDE
  from ..artist import MODE_LINES
  from ..artist import ObjectsData
  from ..utilities.workspace_view import bind_data_class
label_desc: Use image node_id 1 to create a new WorkspaceViewObjectsRow object from inherited base classes: WorkspaceViewRow with example: obj = WorkspaceViewObjectsRow(workspace_view, color, can_delete)