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

This reverts commit 44c6daffa3.
This commit is contained in:
2023-11-19 02:12:44 +03:00
parent 44c6daffa3
commit 28908bcfac
596 changed files with 1569 additions and 2140 deletions

View File

@@ -0,0 +1,35 @@
package Repository.BugReport;
import Common.Current;
import Common.UI.StatusEnum;
import Common.UI.Themes.VisualiserFonts;
import java.awt.*;
import java.io.Serializable;
public enum BugReportState implements Serializable, StatusEnum {
active,
closed,
draft;
@Override
public Font getFont() {
switch (this) {
case active:
return Current.getTheme().Fonts.get(VisualiserFonts.BadState);
case closed:
return Current.getTheme().Fonts.get(VisualiserFonts.GoodState);
default:
return StatusEnum.super.getFont();
}
}
public String getDescription() {
switch (this) {
case draft:
return "черновик";
case active:
return "открыт";
case closed:
return "закрыт";
default:
return StatusEnum.super.getDescription();
}
}
}