From c7e0195ec81fb5b0758f76ae09ff878754be03f3 Mon Sep 17 00:00:00 2001 From: crschnick Date: Thu, 4 Jul 2024 15:36:29 +0000 Subject: [PATCH] Rename --- ...istStatusComp.java => StoreEntryListOverviewComp.java} | 8 ++++---- .../java/io/xpipe/app/comp/store/StoreSidebarComp.java | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) rename app/src/main/java/io/xpipe/app/comp/store/{StoreEntryListStatusComp.java => StoreEntryListOverviewComp.java} (98%) diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListStatusComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListOverviewComp.java similarity index 98% rename from app/src/main/java/io/xpipe/app/comp/store/StoreEntryListStatusComp.java rename to app/src/main/java/io/xpipe/app/comp/store/StoreEntryListOverviewComp.java index 0cab04b97..4c7755431 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListStatusComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreEntryListOverviewComp.java @@ -27,11 +27,11 @@ import javafx.scene.text.TextAlignment; import org.kordamp.ikonli.javafx.FontIcon; -public class StoreEntryListStatusComp extends SimpleComp { +public class StoreEntryListOverviewComp extends SimpleComp { private final Property sortMode; - public StoreEntryListStatusComp() { + public StoreEntryListOverviewComp() { this.sortMode = new SimpleObjectProperty<>(); StoreViewState.get().getActiveCategory().subscribe(val -> { sortMode.setValue(val.getSortMode().getValue()); @@ -111,7 +111,7 @@ public class StoreEntryListStatusComp extends SimpleComp { }); var filter = new FilterComp(StoreViewState.get().getFilterString()); var f = filter.createRegion(); - var buttons = createButtons(); + var buttons = createAddButton(); var hbox = new HBox(buttons, f); f.prefHeightProperty().bind(buttons.heightProperty()); hbox.setSpacing(8); @@ -123,7 +123,7 @@ public class StoreEntryListStatusComp extends SimpleComp { return hbox; } - private Region createButtons() { + private Region createAddButton() { var menu = new MenuButton(null, new FontIcon("mdi2p-plus-thick")); menu.textProperty().bind(AppI18n.observable("addConnections")); menu.setAlignment(Pos.CENTER); diff --git a/app/src/main/java/io/xpipe/app/comp/store/StoreSidebarComp.java b/app/src/main/java/io/xpipe/app/comp/store/StoreSidebarComp.java index 6732dc091..78787f909 100644 --- a/app/src/main/java/io/xpipe/app/comp/store/StoreSidebarComp.java +++ b/app/src/main/java/io/xpipe/app/comp/store/StoreSidebarComp.java @@ -14,7 +14,7 @@ public class StoreSidebarComp extends SimpleComp { @Override protected Region createSimple() { var sideBar = new VerticalComp(List.of( - new StoreEntryListStatusComp() + new StoreEntryListOverviewComp() .styleClass("color-box") .styleClass("gray") .styleClass("bar"),