isis/src/qisis/objs/SpectralPlotTool/SpectralPlotTool.cpp
void SpectralPlotTool::rubberBandComplete() {
    if (selectedWindow()) {
      selectedWindow()->raise();
    }

    if (rubberBandTool()->isValid()) {
      refreshPlot();
    }
    else {
      QMessageBox::information(NULL, "Error",
                               "The selected Area contains no valid pixels",
                               QMessageBox::Ok);
    }
  }
/**
   * Called when the user has finished drawing with the rubber
   * band.  ChangePlot is called to plot the data within the
   * rubber band.
   *
   */
Called when the user has finished drawing with the rubber
band.  ChangePlot is called to plot the data within the
rubber band.
Called when the user has finished drawing with the rubber band . ChangePlot is called to plot the data within the rubber band .
void SpectralPlotTool::rubberBandComplete() {
    if (selectedWindow()) {
      selectedWindow()->raise();
    }
    if (rubberBandTool()->isValid()) {
      refreshPlot();
    }
    else {
      QMessageBox::information(NULL, "Error",
                               "The selected Area contains no valid pixels",
                               QMessageBox::Ok);
    }
  }
void SpectralPlotTool :: rubberBandComplete ( ) { if ( selectedWindow ( ) ) { selectedWindow ( ) -> raise ( ) ; } if ( rubberBandTool ( ) -> isValid ( ) ) { refreshPlot ( ) ; } else { QMessageBox :: information ( NULL , " " , " " , QMessageBox :: Ok ) ; } }
Called when the user has finished drawing with the rubber
 band.
Called when the user has finished drawing with the rubber band .