Commit 504cd092 authored by Sarah Grebing's avatar Sarah Grebing
Browse files

Added tabbedpane in fxml for scriptarea and model skelett for inspectionviewmodel

parent 0d2787e3
Pipeline #10989 failed with stage
in 2 minutes and 40 seconds
package edu.kit.formal.gui.model;
import edu.kit.formal.proofscriptparser.ast.ASTNode;
import javafx.scene.paint.Color;
import java.util.List;
import java.util.Map;
import java.util.Set;
* Model for the inspection view
* @author S.Grebing
public class InspectionModel {
private ASTNode node;
private List<GoalNode> currentGoals;
private GoalNode selectedGoalNodeToShow;
private Map<GoalNode, Color> colorofEachGoalNodeinListView;
private boolean showJavaView;
private String javaString;
private Set<Integer> highlightedJavaLines;
private boolean closable;
......@@ -6,7 +6,7 @@
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<BorderPane fx:id="rootPane" xmlns="" xmlns:fx=""
<BorderPane xmlns:fx="" fx:id="rootPane" xmlns=""
prefWidth="1024" prefHeight="640">
......@@ -74,7 +74,27 @@
<ScriptArea fx:id="scriptArea" VBox.vgrow="ALWAYS"/>
<TabPane fx:id="tabPane" side="left"
tabClosingPolicy="SELECTED_TAB" VBox.vgrow="ALWAYS">
<Tab text="Script">
<AnchorPane VBox.vgrow="ALWAYS">
<ScrollPane AnchorPane.rightAnchor="0.0" AnchorPane.bottomAnchor="0.0"
AnchorPane.leftAnchor="0.0" AnchorPane.topAnchor="0.0"
fitToWidth="true" fitToHeight="true" hbarPolicy="AS_NEEDED"
<ScriptArea fx:id="scriptArea" VBox.vgrow="ALWAYS"/>
<SplitPane orientation="VERTICAL" dividerPositions="0.25,0.75">
Supports Markdown
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