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
2 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Style: Add text color for validated entries
parent
813914eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/ZipEntryNode.java
+3
-1
...a/de/hft/stuttgart/citydoctor2/gui/tree/ZipEntryNode.java
with
3 additions
and
1 deletion
+3
-1
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/ZipEntryNode.java
+
3
-
1
View file @
ed1b5b23
...
@@ -14,8 +14,10 @@ public class ZipEntryNode {
...
@@ -14,8 +14,10 @@ public class ZipEntryNode {
public
Color
getTextColor
()
{
public
Color
getTextColor
()
{
if
(
entry
.
getErrorType
()
!=
null
)
{
if
(
entry
.
getErrorType
()
!=
null
)
{
return
Color
.
RED
;
return
Color
.
RED
;
}
else
if
(
entry
.
isDecompress
ed
())
{
}
else
if
(
entry
.
getModel
()
!=
null
&&
entry
.
getModel
().
isValidat
ed
())
{
return
Color
.
GREEN
;
return
Color
.
GREEN
;
}
else
if
(
entry
.
isDecompressed
())
{
return
Color
.
BLUE
;
}
else
{
}
else
{
return
Color
.
BLACK
;
return
Color
.
BLACK
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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