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
468cffd0
Commit
468cffd0
authored
2 months ago
by
Riegel
Browse files
Options
Download
Email Patches
Plain Diff
Feat: Add checkAllBtn to ZipEntryManager
parent
017f22d7
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
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/ZipEntryManager.java
+9
-0
...ava/de/hft/stuttgart/citydoctor2/gui/ZipEntryManager.java
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryManager.fxml
+10
-0
...ces/de/hft/stuttgart/citydoctor2/gui/ZipEntryManager.fxml
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/icons/check_all_zipEntries.png
+0
-0
.../stuttgart/citydoctor2/gui/icons/check_all_zipEntries.png
with
19 additions
and
0 deletions
+19
-0
CityDoctorParent/Extensions/CityDoctorGUI/src/main/java/de/hft/stuttgart/citydoctor2/gui/ZipEntryManager.java
+
9
-
0
View file @
468cffd0
...
...
@@ -86,6 +86,11 @@ public class ZipEntryManager {
@FXML
private
ImageView
decompressAllImageView
;
@FXML
private
Button
checkAllBtn
;
@FXML
private
ImageView
checkAllImageView
;
@FXML
private
ListView
<
ZipEntryNode
>
entryList
;
@FXML
...
...
@@ -144,6 +149,10 @@ public class ZipEntryManager {
Image
img
=
new
Image
(
inStream
);
decompressAllImageView
.
setImage
(
img
);
}
try
(
InputStream
inStream
=
MainWindow
.
class
.
getResourceAsStream
(
"icons/check_all_zipEntries.png"
))
{
Image
img
=
new
Image
(
inStream
);
checkAllImageView
.
setImage
(
img
);
}
}
catch
(
IOException
ignored
)
{
//ignore exceptions
}
...
...
This diff is collapsed.
Click to expand it.
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/ZipEntryManager.fxml
+
10
-
0
View file @
468cffd0
...
...
@@ -51,6 +51,16 @@
</graphic>
</Button>
<Separator
orientation=
"VERTICAL"
prefHeight=
"200.0"
/>
<Button
fx:id=
"checkAllBtn"
alignment=
"CENTER"
layoutX=
"126.0"
layoutY=
"15.0"
maxWidth=
"1.7976931348623157E308"
mnemonicParsing=
"false"
>
<font>
<Font
size=
"14.0"
/>
</font>
<graphic>
<ImageView
fx:id=
"checkAllImageView"
fitHeight=
"32.0"
fitWidth=
"32.0"
pickOnBounds=
"true"
preserveRatio=
"true"
/>
</graphic>
</Button>
</children>
</HBox>
<HBox
fillHeight=
"false"
prefHeight=
"200.0"
prefWidth=
"600.0"
VBox.vgrow=
"ALWAYS"
>
...
...
This diff is collapsed.
Click to expand it.
CityDoctorParent/Extensions/CityDoctorGUI/src/main/resources/de/hft/stuttgart/citydoctor2/gui/icons/check_all_zipEntries.png
0 → 100644
+
0
-
0
View file @
468cffd0
1.99 KB
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