/** Invokes when ROI are removed. */
 void onFigureRemoved() {
   channelSelection.setEnabled(false);
   showIntensityTable.setEnabled(false);
   saveButton.setEnabled(false);
   channelSelection.setVisible(false);
   channelSummaryTable.setVisible(false);
 }
 /**
  * Populates the table and fields with the data.
  *
  * @param coord the coordinate of the shape being analysed.
  * @param channel the channel to be analysed.
  */
 private void populateData(Coord3D coord, int channel) {
   channelSummaryTable.setVisible(true);
   interpretResults(coord, channel);
   populateChannelSummaryTable(coord);
 }