private void updateProgress(String progressLabel,int progress){
  if (myHost != null && ((progress != previousProgress) || (!progressLabel.equals(previousProgressLabel)))) {
    myHost.updateProgress(progressLabel,progress);
  }
  previousProgress=progress;
  previousProgressLabel=progressLabel;
}

private void updateProgress ( String progressLabel , int progress ) { if ( myHost != null && ( ( progress != previousProgress ) || ( ! progressLabel . equals ( previousProgressLabel ) ) ) ) { myHost . updateProgress ( progressLabel , progress ) ; } previousProgress = progress ; previousProgressLabel = progressLabel ; }
used to communicate a progress update between a plugin tool and the main whitebox user interface .
