fix(commons/ingredient): add missing setters
This commit is contained in:
parent
1bfc103ecc
commit
9f7f32beff
4 changed files with 21 additions and 10 deletions
|
|
@ -3,7 +3,14 @@ package client.Ingredient;
|
|||
import commons.Ingredient;
|
||||
import javafx.beans.binding.Bindings;
|
||||
import javafx.beans.binding.DoubleBinding;
|
||||
import javafx.beans.property.*;
|
||||
import javafx.beans.property.DoubleProperty;
|
||||
import javafx.beans.property.LongProperty;
|
||||
import javafx.beans.property.ReadOnlyDoubleProperty;
|
||||
import javafx.beans.property.ReadOnlyDoubleWrapper;
|
||||
import javafx.beans.property.SimpleDoubleProperty;
|
||||
import javafx.beans.property.SimpleLongProperty;
|
||||
import javafx.beans.property.SimpleStringProperty;
|
||||
import javafx.beans.property.StringProperty;
|
||||
|
||||
public class IngredientViewModel {
|
||||
private final LongProperty id = new SimpleLongProperty();
|
||||
|
|
|
|||
|
|
@ -27,8 +27,6 @@ public class IngredientListCtrl {
|
|||
private ListView<Ingredient> ingredientListView;
|
||||
@FXML
|
||||
private NutritionDetailsCtrl nutritionDetailsCtrl;
|
||||
@FXML
|
||||
private ListView<Ingredient> ingredientListView;
|
||||
|
||||
@Inject
|
||||
public IngredientListCtrl(
|
||||
|
|
|
|||
|
|
@ -11,7 +11,6 @@ import javafx.application.Platform;
|
|||
import javafx.beans.binding.Bindings;
|
||||
import javafx.beans.property.SimpleObjectProperty;
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.event.EventType;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.control.Label;
|
||||
import javafx.scene.control.TextField;
|
||||
|
|
@ -22,10 +21,6 @@ import javafx.scene.layout.VBox;
|
|||
import javafx.util.converter.NumberStringConverter;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.IllegalFormatConversionException;
|
||||
import java.util.IllegalFormatException;
|
||||
import java.util.Optional;
|
||||
import java.util.Set;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
public class NutritionDetailsCtrl implements LocaleAware {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue