/** * Removes the text showing the progress from the status label on this * dialog. */ private void clearProgressText() { if (this.progressText != "") { this.progressText = ""; this.updateStatusLabel(); } }
/** * Displays the progress as part of the status label on this dialog. * @param value The number of parts of the operation that have been * completed. * @param maximum The number of parts that compose this operation. */ private void setProgressText(int value, int maximum) { this.progressText = String.format("(%d/%d)", value, maximum); this.updateStatusLabel(); }
public void notifyStatusChanged(String status) { this.ensureVisible(); this.statusText = status; this.updateStatusLabel(); }