Labels
This commit is contained in:
@ -72,27 +72,6 @@ public class Controller_Frontend {
|
||||
@FXML
|
||||
private ListView<String> lstContentListView;
|
||||
|
||||
@FXML
|
||||
private Label pclLabel;
|
||||
|
||||
@FXML
|
||||
private Label PrescalerLabel;
|
||||
|
||||
@FXML
|
||||
private Label statusLabel;
|
||||
|
||||
@FXML
|
||||
private Label fsrLabel;
|
||||
|
||||
@FXML
|
||||
private Label pclathLabel;
|
||||
|
||||
@FXML
|
||||
private Label intconLabel;
|
||||
|
||||
@FXML
|
||||
private Button stepButton;
|
||||
|
||||
@FXML
|
||||
private Button autoRunGUI;
|
||||
|
||||
@ -109,6 +88,7 @@ public class Controller_Frontend {
|
||||
|
||||
|
||||
|
||||
|
||||
private static volatile boolean isAutoRunActive = false;
|
||||
private static volatile boolean isSleeping = false;
|
||||
|
||||
@ -208,7 +188,7 @@ public class Controller_Frontend {
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void stepintoButton(ActionEvent event) throws IOException {
|
||||
public void stepintoButton(ActionEvent event) throws IOException {
|
||||
if (lstContentListView.getItems().isEmpty()) {
|
||||
// Datei ist nicht geladen oder leer
|
||||
return;
|
||||
@ -318,6 +298,7 @@ public class Controller_Frontend {
|
||||
IOPorts.setPORTfromUI(toggleButtonGroup);
|
||||
} catch (NullPointerException ignored) {}
|
||||
}
|
||||
ProgramStack.reset();
|
||||
wakeUpFromSleep();
|
||||
breakpoints.clear();
|
||||
IOPorts.refreshUI(getTRISbuttons(), getPORTbuttons());
|
||||
@ -337,18 +318,14 @@ public class Controller_Frontend {
|
||||
int lastDot = fileAddress.lastIndexOf('.');
|
||||
String stageTitle;
|
||||
if (lastDot > lastSlash)
|
||||
stageTitle = "Simulator - " + fileAddress.substring(lastSlash + 1, lastDot);
|
||||
stageTitle = "Simulator - " + fileAddress.substring(lastSlash + 1, lastDot);
|
||||
else {
|
||||
stageTitle = "Simulator - " + fileAddress.substring(lastSlash + 1);
|
||||
stageTitle = "Simulator - " + fileAddress.substring(lastSlash + 1);
|
||||
}
|
||||
Stage stage = (Stage) stepintoButton.getScene().getWindow();
|
||||
stage.setTitle(stageTitle);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
private void initializeBreakpoints() {
|
||||
lstContentListView.setCellFactory(createBreakpointCell());
|
||||
@ -601,6 +578,15 @@ public class Controller_Frontend {
|
||||
stackVisual.setItems(observedList);
|
||||
}
|
||||
|
||||
//
|
||||
// @FXML
|
||||
// private static Label dummyLabel;
|
||||
//
|
||||
// public static void triggerTableRefresh(){
|
||||
// dummyLabel.setText(" ");
|
||||
// CreateWindow.refreshTable((Stage) dummyLabel.getScene().getWindow());
|
||||
// }
|
||||
|
||||
private void updateWatchdog (){
|
||||
wdtCheck.setText("Watchdog-Timer: " + WatchdogTimer.get() + "µs");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user