упорядочил папки с кодом.

This commit is contained in:
2023-11-19 01:53:56 +03:00
parent 4883b4af51
commit 44c6daffa3
596 changed files with 2140 additions and 1569 deletions

View File

@@ -0,0 +1,26 @@
package Common.Passes.All;
import Common.Current;
import Common.UI.Windows.Dialog.PercentsForm;
public class UpdateBugReportProgress extends UpdateBugReportField {
@Override
public String getIconPath() {
return "/icons/Progress.png";
}
@Override
public String getButtonText() {
return "";
}
@Override
protected boolean canStart(Object... args) throws Exception {
if (!Current.Check(Log, Current.BugReport))
return false;
PercentsForm f = new PercentsForm();
if (f.ShowDialog("Завершённость работы над ошибкой", Current.getBugReport().percentage))
return super.canStart("percentage", f.Result);
return false;
}
@Override
protected boolean canUpdate() {
return Current.getAccount().ExtendedCheckAccessRights(target, Log);
}
}