Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
ed1b5b23
Commit
ed1b5b23
authored
Jan 09, 2025
by
Riegel
Browse files
Style: Add text color for validated entries
parent
813914eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/ZipEntryNode.java
View file @
ed1b5b23
...
...
@@ -14,8 +14,10 @@ public class ZipEntryNode {
public
Color
getTextColor
()
{
if
(
entry
.
getErrorType
()
!=
null
)
{
return
Color
.
RED
;
}
else
if
(
entry
.
isDecompress
ed
())
{
}
else
if
(
entry
.
getModel
()
!=
null
&&
entry
.
getModel
().
isValidat
ed
())
{
return
Color
.
GREEN
;
}
else
if
(
entry
.
isDecompressed
())
{
return
Color
.
BLUE
;
}
else
{
return
Color
.
BLACK
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment