Commit 444581f3 authored by Alexander Weigl's avatar Alexander Weigl

add conditional breakpoints dialog

parent d1818899
Pipeline #11550 failed with stage
in 2 minutes and 27 seconds
......@@ -16,6 +16,17 @@ import java.io.File;
@ToString
@EqualsAndHashCode
public class Breakpoint {
private final File file;
private final int lineNumber;
private File file;
private int lineNumber;
private boolean enabled;
private String condition;
public Breakpoint(File file, int lineNumber) {
this.file = file;
this.lineNumber = lineNumber;
}
public boolean isConditional() {
return condition != null;
}
}
package edu.kit.formal.gui.model;
/**
* @author Alexander Weigl
* @version 1 (21.06.17)
*/
public class ConditionalBreakpoint {
}
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.CheckBox?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.FlowPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<fx:root type="javafx.scene.layout.BorderPane" xmlns="http://javafx.com/javafx/8.0.112" xmlns:fx="http://javafx.com/fxml/1">
<center>
<VBox alignment="CENTER_LEFT" prefHeight="94.0" prefWidth="266.0" spacing="10.0">
<CheckBox fx:id="enabled" layoutX="15.0" text="_Enabled" />
<HBox alignment="BASELINE_LEFT">
<Label text="Condition: " />
<TextField fx:id="condition" HBox.hgrow="ALWAYS" />
</HBox>
<padding>
<Insets bottom="5.0" left="5.0" right="5.0" top="5.0" />
</padding>
</VBox>
</center>
<top>
<Label fx:id="title" alignment="CENTER" contentDisplay="TOP" style="-fx-font-weight: bold; -fx-font-size: 110%;" text="Here stands the filename!" />
</top>
<bottom>
<FlowPane alignment="BASELINE_RIGHT">
<Button onAction="#save" text="Apply" />
</FlowPane>
</bottom>
<padding>
<Insets bottom="25.0" left="25.0" right="25.0" top="25.0" />
</padding>
</fx:root>
......@@ -31,6 +31,10 @@
-fx-font-size: 12pt;
-fx-fill: @base00;
.lineno {
}
// Structures
.FOREACH, .CASES, .CASE, .DEFAULT
.THEONLY, .SCRIPT, .USING, .REPEAT {
......@@ -76,7 +80,10 @@
}
.problem {
-rtfx-background-color: @magenta;
// -rtfx-background-color: @magenta;
-rtfx-underline-cap: butt;
-rtfx-underline-color: red;
-rtfx-underline-width: 2px;
-fx-underline: true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment