19 package org.sleuthkit.autopsy.report.infrastructure;
21 import org.openide.util.NbBundle;
49 "ReportProgressIndicator.startMessage=Report generation started"
52 workUnitsCompleted = 0;
54 progressIndicator.
start(Bundle.ReportProgressIndicator_startMessage());
59 "ReportProgressIndicator.switchToDeterminateMessage=Report generation progress switched to determinate"
62 progressIndicator.
switchToDeterminate(Bundle.ReportProgressIndicator_switchToDeterminateMessage(), 0, max);
68 progressIndicator.
progress(workUnitsCompleted);
73 workUnitsCompleted = value;
74 progressIndicator.
progress(workUnitsCompleted);
79 "ReportProgressIndicator.switchToIndeterminateMessage=Report generation progress switched to indeterminate"
82 progressIndicator.
switchToIndeterminate(Bundle.ReportProgressIndicator_switchToIndeterminateMessage());
88 progressIndicator.
progress(statusMessage);
94 "ReportProgressIndicator.completedMessage=Report generation completed",
95 "ReportProgressIndicator.completedWithErrorsMessage=Report generation completed with errors",})
98 switch (reportStatus) {
100 progressIndicator.
progress(Bundle.ReportProgressIndicator_completedMessage());
104 progressIndicator.
progress(Bundle.ReportProgressIndicator_completedWithErrorsMessage());
112 progressIndicator.
finish();
118 progressIndicator.
progress(statusMessage);
125 "ReportProgressIndicator.cancelledMessage=Report generation cancelled",})
136 progressIndicator.
progress(Bundle.ReportProgressIndicator_cancelledMessage());
void updateStatusLabel(String statusMessage)
ReportProgressIndicator(ProgressIndicator progressIndicator)
void setStatus(ReportStatus status)
void start(String message, int totalWorkUnits)
static final long serialVersionUID
void setMaximumProgress(int max)
final ProgressIndicator progressIndicator
void setIndeterminate(boolean indeterminate)
void complete(ReportStatus reportStatus, String statusMessage)
void switchToDeterminate(String message, int workUnitsCompleted, int totalWorkUnits)
void complete(ReportStatus reportStatus)
void setProgress(int value)
void progress(String message)
void switchToIndeterminate(String message)