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
b9af569e
Commit
b9af569e
authored
Dec 12, 2025
by
Matthias Betz
Browse files
remove low memory mode
parent
8536ec35
Pipeline
#12291
failed with stage
in 1 minute and 15 seconds
Changes
24
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/AddMoreButtonRunnable.java
View file @
b9af569e
package
de.hft.stuttgart.citydoctor2.gui.tree
;
package
de.hft.stuttgart.citydoctor2.gui.tree
;
import
de.hft.stuttgart.citydoctor2.datastructure.CityDoctorModel
;
import
java.util.concurrent.atomic.AtomicInteger
;
import
de.hft.stuttgart.citydoctor2.gui.CityDoctorController
;
import
de.hft.stuttgart.citydoctor2.gui.CityDoctorController
;
import
javafx.scene.control.TreeItem
;
import
javafx.scene.control.TreeItem
;
import
javafx.scene.control.TreeView
;
import
javafx.scene.control.TreeView
;
import
java.util.concurrent.atomic.AtomicInteger
;
public
abstract
class
AddMoreButtonRunnable
implements
Runnable
{
public
abstract
class
AddMoreButtonRunnable
implements
Runnable
{
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/tree/node/CityObjectNode.java
View file @
b9af569e
...
@@ -4,13 +4,9 @@ import de.hft.stuttgart.citydoctor2.datastructure.CityObject;
...
@@ -4,13 +4,9 @@ import de.hft.stuttgart.citydoctor2.datastructure.CityObject;
import
de.hft.stuttgart.citydoctor2.gui.CheckStatus
;
import
de.hft.stuttgart.citydoctor2.gui.CheckStatus
;
import
de.hft.stuttgart.citydoctor2.gui.Renderer
;
import
de.hft.stuttgart.citydoctor2.gui.Renderer
;
import
de.hft.stuttgart.citydoctor2.gui.tree.Renderable
;
import
de.hft.stuttgart.citydoctor2.gui.tree.Renderable
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
public
class
CityObjectNode
extends
Renderable
{
public
class
CityObjectNode
extends
Renderable
{
private
static
final
Logger
logger
=
LogManager
.
getLogger
(
CityObjectNode
.
class
);
private
final
CityObject
co
;
private
final
CityObject
co
;
private
String
text
;
private
String
text
;
...
...
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/OpenFileDialog.fxml
View file @
b9af569e
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Font?>
<VBox
xmlns=
"http://javafx.com/javafx"
xmlns:fx=
"http://javafx.com/fxml"
>
<VBox
xmlns=
"http://javafx.com/javafx
/17
"
xmlns:fx=
"http://javafx.com/fxml
/1
"
>
<children>
<children>
<Label
fx:id=
"fileLabel"
text=
"File:"
>
<Label
fx:id=
"fileLabel"
text=
"File:"
>
<padding>
<padding>
...
@@ -60,7 +60,6 @@
...
@@ -60,7 +60,6 @@
<rowConstraints>
<rowConstraints>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
<RowConstraints
minHeight=
"10.0"
prefHeight=
"30.0"
vgrow=
"SOMETIMES"
/>
</rowConstraints>
</rowConstraints>
<children>
<children>
<Label
fx:id=
"roundingPlacesLabel"
text=
"NumberOfRoundingPlaces:"
>
<Label
fx:id=
"roundingPlacesLabel"
text=
"NumberOfRoundingPlaces:"
>
...
@@ -80,11 +79,6 @@
...
@@ -80,11 +79,6 @@
<Font
size=
"14.0"
/>
<Font
size=
"14.0"
/>
</font></Label>
</font></Label>
<CheckBox
fx:id=
"useValidationBox"
mnemonicParsing=
"false"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"1"
/>
<CheckBox
fx:id=
"useValidationBox"
mnemonicParsing=
"false"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"1"
/>
<Label
fx:id=
"lowMemoryLabel"
text=
"Low Memory Consumption Mode"
GridPane.rowIndex=
"2"
>
<font>
<Font
size=
"14.0"
/>
</font></Label>
<CheckBox
fx:id=
"lowMemoryBox"
mnemonicParsing=
"false"
selected=
"true"
GridPane.columnIndex=
"1"
GridPane.rowIndex=
"2"
/>
</children>
</children>
</GridPane>
</GridPane>
</content>
</content>
...
...
CityDoctorParent/Extensions/CityDoctorHealerGenetic/src/test/java/de/hft/stuttgart/citydoctor2/healer/genetic/NonPlanarGenetic.java
View file @
b9af569e
...
@@ -71,7 +71,6 @@ public class NonPlanarGenetic {
...
@@ -71,7 +71,6 @@ public class NonPlanarGenetic {
ValidationConfiguration
config
=
ValidationConfiguration
.
loadStandardValidationConfig
();
ValidationConfiguration
config
=
ValidationConfiguration
.
loadStandardValidationConfig
();
config
.
setNumberOfRoundingPlacesInGlobalParameters
(
8
);
config
.
setNumberOfRoundingPlacesInGlobalParameters
(
8
);
config
.
setSchematronFilePathInGlobalParameters
(
null
);
config
.
setSchematronFilePathInGlobalParameters
(
null
);
config
.
getParserConfiguration
().
setUseLowMemoryConsumption
(
false
);
List
<
Path
>
gmlFiles
=
getPathsForGmlFiles
();
List
<
Path
>
gmlFiles
=
getPathsForGmlFiles
();
for
(
Path
gmlFile
:
gmlFiles
)
{
for
(
Path
gmlFile
:
gmlFiles
)
{
...
@@ -348,8 +347,6 @@ public class NonPlanarGenetic {
...
@@ -348,8 +347,6 @@ public class NonPlanarGenetic {
v
.
setY
(
newPoint
.
getY
());
v
.
setY
(
newPoint
.
getY
());
v
.
setZ
(
newPoint
.
getZ
());
v
.
setZ
(
newPoint
.
getZ
());
}
}
// update edges
copy
.
prepareForChecking
();
// recheck
// recheck
c
.
executeChecksForCheckable
(
copy
);
c
.
executeChecksForCheckable
(
copy
);
...
...
Prev
1
2
Next
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