-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from SorinPopteanu/table
FactoryInventoryController
- Loading branch information
Showing
11 changed files
with
795 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
659 changes: 658 additions & 1 deletion
659
...n/java/org/chainoptim/desktop/features/factory/controller/FactoryInventoryController.java
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 33 additions & 4 deletions
37
src/main/resources/org/chainoptim/desktop/features/factory/FactoryInventoryView.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.scene.control.*?> | ||
<?import javafx.scene.layout.*?> | ||
|
||
<AnchorPane xmlns="http://javafx.com/javafx" | ||
<StackPane xmlns="http://javafx.com/javafx" | ||
xmlns:fx="http://javafx.com/fxml" | ||
fx:controller="org.chainoptim.desktop.features.factory.controller.FactoryInventoryController" | ||
prefHeight="400.0" prefWidth="600.0"> | ||
fx:controller="org.chainoptim.desktop.features.factory.controller.FactoryInventoryController"> | ||
|
||
<VBox VBox.vgrow="ALWAYS"> | ||
<StackPane fx:id="tableToolbarContainer"/> | ||
<ScrollPane fx:id="factoryInventoryScrollPane" VBox.vgrow="ALWAYS" fitToWidth="true" fitToHeight="true"> | ||
<VBox> | ||
<TableView fx:id="tableView" styleClass="table-view"> | ||
<columns> | ||
<TableColumn fx:id="selectRowColumn" prefWidth="50"/> | ||
<TableColumn text="Inventory ID" fx:id="inventoryIdColumn" minWidth="120"/> | ||
<TableColumn text="Company ID" fx:id="companyIdColumn" minWidth="150"/> | ||
<TableColumn text="Factory" fx:id="factoryNameColumn" minWidth="150"/> | ||
<TableColumn text="Component" fx:id="componentNameColumn" minWidth="150"/> | ||
<TableColumn text="Product" fx:id="productNameColumn" minWidth="150"/> | ||
<TableColumn text="Quantity" fx:id="quantityColumn" minWidth="150"/> | ||
<TableColumn text="Minimum Required Quantity" fx:id="minimumRequiredQuantityColumn" minWidth="150"/> | ||
<TableColumn text="Created At" fx:id="createdAtColumn" minWidth="200"/> | ||
<TableColumn text="Updated At" fx:id="updatedAtColumn" minWidth="200"/> | ||
</columns> | ||
</TableView> | ||
<StackPane fx:id="pageSelectorContainer"/> | ||
</VBox> | ||
</ScrollPane> | ||
</VBox> | ||
|
||
<StackPane fx:id="confirmUpdateDialogContainer" style="-fx-padding: 64px;"/> | ||
<StackPane fx:id="confirmDeleteDialogContainer" style="-fx-padding: 64px;"/> | ||
<StackPane fx:id="confirmCreateDialogContainer" style="-fx-padding: 64px;"/> | ||
|
||
|
||
</AnchorPane> | ||
</StackPane> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters