extensions/xnat/src/components/XNATSegmentationPanel.js
/**
   * onEditClick - A callback that triggers metadata input for a segment.
   *
   * @param  {Number} segmentIndex The index of the segment metadata to edit.
   * @param  {object}   metadata     The current metadata of the segment.
   * @returns {null}
   */
A callback that triggers metadata input for a segment.
@param  {Number} segmentIndex The index of the segment metadata to edit.
@param  {object}   metadata     The current metadata of the segment.
@returns {null}
A callback that triggers metadata input for a segment . @param { Number } segmentIndex The index of the segment metadata to edit . @param { object } metadata The current metadata of the segment . @returns { null }
onEditClick(segmentIndex, metadata) {
    const onUpdateProperty = this.onUpdateProperty;
    showModal(
      MaskRoiPropertyModal,
      {metadata, segmentIndex, onUpdateProperty},
      metadata.segmentLabel);
  }
onEditClick ( segmentIndex , metadata ) { const onUpdateProperty = this . onUpdateProperty ; showModal ( MaskRoiPropertyModal , { metadata , segmentIndex , onUpdateProperty } , metadata . segmentLabel ) ; }
onEditClick - A callback that triggers metadata input for a segment.
onEditClick - A callback that triggers metadata input for a segment .