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
dc4923b8
Commit
dc4923b8
authored
Jan 08, 2025
by
Riegel
Browse files
Fix: Disable zipManagerBtn during loading
parent
9aa68d69
Changes
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/CityDoctorController.java
View file @
dc4923b8
...
@@ -79,6 +79,7 @@ public class CityDoctorController {
...
@@ -79,6 +79,7 @@ public class CityDoctorController {
try
{
try
{
Platform
.
runLater
(()
->
{
Platform
.
runLater
(()
->
{
mainWindow
.
getOpenBtn
().
setDisable
(
true
);
mainWindow
.
getOpenBtn
().
setDisable
(
true
);
mainWindow
.
getZipManagerBtn
().
setDisable
(
true
);
mainWindow
.
getWriteReportButton
().
setDisable
(
true
);
mainWindow
.
getWriteReportButton
().
setDisable
(
true
);
mainWindow
.
getMeshGroup
().
getChildren
().
clear
();
mainWindow
.
getMeshGroup
().
getChildren
().
clear
();
...
@@ -90,6 +91,7 @@ public class CityDoctorController {
...
@@ -90,6 +91,7 @@ public class CityDoctorController {
loadCityGmlZipFile
(
path
,
numberOfRoundingPlaces
,
l
,
useValidation
,
lowMemory
);
loadCityGmlZipFile
(
path
,
numberOfRoundingPlaces
,
l
,
useValidation
,
lowMemory
);
return
;
return
;
}
}
currentZipEntryManager
=
null
;
currentChecker
=
null
;
currentChecker
=
null
;
currentConfig
=
new
ParserConfiguration
(
numberOfRoundingPlaces
,
useValidation
,
lowMemory
);
currentConfig
=
new
ParserConfiguration
(
numberOfRoundingPlaces
,
useValidation
,
lowMemory
);
GMLValidationHandler
handler
=
null
;
GMLValidationHandler
handler
=
null
;
...
@@ -181,6 +183,7 @@ public class CityDoctorController {
...
@@ -181,6 +183,7 @@ public class CityDoctorController {
try
{
try
{
Platform
.
runLater
(()
->
{
Platform
.
runLater
(()
->
{
mainWindow
.
getOpenBtn
().
setDisable
(
true
);
mainWindow
.
getOpenBtn
().
setDisable
(
true
);
mainWindow
.
getZipManagerBtn
().
setDisable
(
true
);
mainWindow
.
getWriteReportButton
().
setDisable
(
true
);
mainWindow
.
getWriteReportButton
().
setDisable
(
true
);
mainWindow
.
getMeshGroup
().
getChildren
().
clear
();
mainWindow
.
getMeshGroup
().
getChildren
().
clear
();
clearTrees
();
clearTrees
();
...
...
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