Commit 077bcb27 authored by Riegel's avatar Riegel
Browse files

Style: Rework color coding of ZIP entries

2 merge requests!28Version 3.17.0 Release,!26Add ZIP-archive support
Pipeline #10908 passed with stage
in 5 minutes and 15 seconds
Showing with 12 additions and 3 deletions
+12 -3
......@@ -13,9 +13,18 @@ public class ZipEntryNode {
public Color getTextColor() {
if (entry.getErrorType() != null) {
return Color.RED;
} else if (entry.getModel() != null && entry.getModel().isValidated()) {
return Color.GREEN;
return Color.DARKRED;
} else if (entry.getModel() != null) {
if (entry.getModel().getNumberOfFeatures() == 0) {
return Color.GRAY;
}
if (entry.getModel().isValidated()) {
if (entry.getModel().collectErrors().isEmpty()) {
return Color.GREEN;
}
return Color.RED;
}
return Color.BLUE;
} else if (entry.isDecompressed()) {
return Color.BLUE;
} else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment