mirror of
https://github.com/frosch95/SmartCSV.fx.git
synced 2026-04-11 21:48:22 +02:00
formal revision
This commit is contained in:
@@ -53,7 +53,7 @@ public class ErrorSideBar extends Region {
|
||||
|
||||
private static final double WIDTH = 20.0;
|
||||
|
||||
private ListChangeListener<ValidationError> errorListListener = c -> {setErrorMarker();};
|
||||
private ListChangeListener<ValidationError> errorListListener = c -> setErrorMarker();
|
||||
private WeakListChangeListener<ValidationError> weakErrorListListener = new WeakListChangeListener<>(errorListListener);
|
||||
private ObjectProperty<CSVModel> model = new SimpleObjectProperty<>();
|
||||
private ObjectProperty<ValidationError> selectedValidationError = new SimpleObjectProperty<>();
|
||||
@@ -62,11 +62,14 @@ public class ErrorSideBar extends Region {
|
||||
|
||||
public ErrorSideBar(ResourceBundle resourceBundle) {
|
||||
this.resourceBundle = resourceBundle;
|
||||
initPopOver();
|
||||
setFixWidth();
|
||||
addModelListener();
|
||||
}
|
||||
|
||||
private void initPopOver() {
|
||||
popOver.setAutoHide(true);
|
||||
popOver.setArrowLocation(PopOver.ArrowLocation.RIGHT_CENTER);
|
||||
|
||||
}
|
||||
|
||||
public void setModel(CSVModel model) {
|
||||
|
||||
Reference in New Issue
Block a user