2024-10-14 12:14:01 +03:00
|
|
|
package _VisualDVM.Passes.All;
|
2024-10-09 22:21:57 +03:00
|
|
|
import _VisualDVM.Repository.BugReport.BugReportState;
|
2023-09-17 22:13:42 +03:00
|
|
|
public class CloseBugReport extends UpdateBugReportField {
|
|
|
|
|
@Override
|
|
|
|
|
public String getIconPath() {
|
|
|
|
|
return "/icons/CloseBugReport.png";
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
public String getButtonText() {
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
@Override
|
|
|
|
|
protected boolean canStart(Object... args) throws Exception {
|
|
|
|
|
return super.canStart("state", BugReportState.closed, "percentage", 100);
|
|
|
|
|
}
|
|
|
|
|
}
|