|
@@ -161,7 +161,10 @@ public class GUIController implements Initializable {
|
|
|
|
|
|
@FXML
|
|
@FXML
|
|
public Button updateMetricButton;
|
|
public Button updateMetricButton;
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ @FXML
|
|
|
|
+ public Button resetMappingButton;
|
|
|
|
+
|
|
// The items of the top left box in the symbol visualization layer
|
|
// The items of the top left box in the symbol visualization layer
|
|
@FXML
|
|
@FXML
|
|
public VBox symbolToolVBox;
|
|
public VBox symbolToolVBox;
|
|
@@ -174,6 +177,9 @@ public class GUIController implements Initializable {
|
|
@FXML
|
|
@FXML
|
|
public ChoiceBox<String> mapViewChoiceBox;
|
|
public ChoiceBox<String> mapViewChoiceBox;
|
|
|
|
|
|
|
|
+ @FXML
|
|
|
|
+ public VBox leftSide;
|
|
|
|
+
|
|
@FXML
|
|
@FXML
|
|
public VBox rightSide;
|
|
public VBox rightSide;
|
|
|
|
|
|
@@ -194,6 +200,9 @@ public class GUIController implements Initializable {
|
|
// The anchorpane of the metric update button
|
|
// The anchorpane of the metric update button
|
|
@FXML
|
|
@FXML
|
|
public AnchorPane updateButtonAPane;
|
|
public AnchorPane updateButtonAPane;
|
|
|
|
+ // The anchorpane of the reset mapping button
|
|
|
|
+ @FXML
|
|
|
|
+ public AnchorPane resetMappingButtonAPane;
|
|
|
|
|
|
/**
|
|
/**
|
|
* Initializes all the references to the UI elements specified in the FXML
|
|
* Initializes all the references to the UI elements specified in the FXML
|
|
@@ -481,6 +490,10 @@ public class GUIController implements Initializable {
|
|
// Update button initialization
|
|
// Update button initialization
|
|
updateMetricButton.setOnAction((event) -> MetricboxManager.updateMetrics());
|
|
updateMetricButton.setOnAction((event) -> MetricboxManager.updateMetrics());
|
|
rightSide.getChildren().remove(updateButtonAPane);
|
|
rightSide.getChildren().remove(updateButtonAPane);
|
|
|
|
+
|
|
|
|
+ // reset mapping button initialization
|
|
|
|
+ resetMappingButton.setOnAction((event) -> GraphDisplayManager.initMappingLayer(true));
|
|
|
|
+ leftSide.getChildren().remove(resetMappingButtonAPane);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -584,6 +597,7 @@ public class GUIController implements Initializable {
|
|
assert propertiesObjectColumn != null : "fx:id=\"propertiesObject\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert propertiesObjectColumn != null : "fx:id=\"propertiesObject\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert propertiesTypeColumn != null : "fx:id=\"propertiesType\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert propertiesTypeColumn != null : "fx:id=\"propertiesType\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
|
|
|
|
|
|
+ assert leftSide != null : "fx:id=\"leftSide\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert rightSide != null : "fx:id=\"rightSide\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert rightSide != null : "fx:id=\"rightSide\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert opGraphSelectionBox != null : "fx:id=\"opGraphSelectionBox\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert opGraphSelectionBox != null : "fx:id=\"opGraphSelectionBox\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert consoleScrollPane != null : "fx:id=\"consoleScrollPane\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert consoleScrollPane != null : "fx:id=\"consoleScrollPane\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
@@ -594,9 +608,11 @@ public class GUIController implements Initializable {
|
|
assert metricBoxUpdateColumn != null : "fx:id=\"metricBoxUpdateColumn\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert metricBoxUpdateColumn != null : "fx:id=\"metricBoxUpdateColumn\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
|
|
|
|
assert updateMetricButton != null : "fx:id=\"updateMetricButton\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert updateMetricButton != null : "fx:id=\"updateMetricButton\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
|
|
+ assert resetMappingButton != null : "fx:id=\"resetMappingButton\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
|
|
|
|
assert topLeftAPane != null : "fx:id=\"topLeftAPane\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert topLeftAPane != null : "fx:id=\"topLeftAPane\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert updateButtonAPane != null : "fx:id=\"updateButton\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert updateButtonAPane != null : "fx:id=\"updateButton\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
|
|
+ assert resetMappingButtonAPane != null : "fx:id=\"resetMappingButtonAPane\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
|
|
|
|
assert symbolToolVBox != null : "fx:id=\"symbolToolVBox\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert symbolToolVBox != null : "fx:id=\"symbolToolVBox\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert edgesVisibleCheckbox != null : "fx:id=\"edgesVisibleCheckbox\" was not injected: check your FXML file 'MainWindow.fxml'.";
|
|
assert edgesVisibleCheckbox != null : "fx:id=\"edgesVisibleCheckbox\" was not injected: check your FXML file 'MainWindow.fxml'.";
|