Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CityDoctor
CityDoctor2
Commits
d99373bf
Commit
d99373bf
authored
2 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Feat: Implement display of CityDoctorModel metadata
parent
c6f39856
master
dev
dev_gui_features_zip_loading
3.17.0
archive/dev_gui_features_zip_loading
2 merge requests
!28
Version 3.17.0 Release
,
!26
Add ZIP-archive support
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.java
+9
-1
...java/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.java
with
9 additions
and
1 deletion
+9
-1
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/ZipEntryPicker.java
+
9
-
1
View file @
d99373bf
...
@@ -164,8 +164,16 @@ public class ZipEntryPicker {
...
@@ -164,8 +164,16 @@ public class ZipEntryPicker {
}
else
{
}
else
{
erroneousValue
.
setText
(
Localization
.
getText
(
"ZipEntryPicker.no"
));
erroneousValue
.
setText
(
Localization
.
getText
(
"ZipEntryPicker.no"
));
if
(
entry
.
getModel
()
==
null
)
{
if
(
entry
.
getModel
()
==
null
)
{
validatedValue
.
setText
(
unknownValueText
);
objectCountValue
.
setText
(
unknownValueText
);
return
;
}
if
(
entry
.
getModel
().
isValidated
())
{
validatedValue
.
setText
(
Localization
.
getText
(
"ZipEntryPicker.yes"
));
}
else
{
validatedValue
.
setText
(
Localization
.
getText
(
"ZipEntryPicker.no"
));
}
}
objectCountValue
.
setText
(
String
.
valueOf
(
entry
.
getModel
().
getNumberOfFeatures
()));
}
}
}
}
...
...
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
Menu
Explore
Projects
Groups
Snippets