Commit 278609bd authored by Lulu Luong's avatar Lulu Luong

#55

parent 0393c8c3
Pipeline #31014 passed with stages
in 59 seconds
......@@ -20,6 +20,8 @@ import javafx.scene.layout.BorderPane;
import lombok.Getter;
import lombok.Setter;
import java.util.Collection;
import java.util.Collections;
import java.util.Map;
......@@ -30,8 +32,6 @@ public class VariableAssignmentWindow extends TabPane {
@FXML
TableView special_tableView;
@Setter
private InspectionModel model;
/** Non special Variables that don't start with __ **/
private ObservableList<VariableModel> declarativeModel;
......@@ -96,7 +96,12 @@ public class VariableAssignmentWindow extends TabPane {
special_tableView.setItems(specialModel);
special_tableView.getColumns().addAll(spec_varCol, spec_typeCol, spec_valCol);
}
// TODO: set css for TableView
//declarative_tableView.getStyleClass().add("table_view");
}
/**
* Combine all previous Variableassignments and return it
......
......@@ -8,10 +8,10 @@
type="edu.kit.iti.formal.psdbg.gui.controls.VariableAssignmentWindow"
prefHeight="400.0" prefWidth="600.0">
<tabs>
<Tab text="Variables">
<Tab text="Script Variables">
<TableView fx:id="declarative_tableView" ></TableView>
</Tab>
<Tab text="Special Variables">
<Tab text="KeY Control Variables">
<TableView fx:id="special_tableView"></TableView>
</Tab>
</tabs>
......
......@@ -412,4 +412,13 @@
-fx-background-color: antiquewhite;
-fx-stroke: navy;
}
/**********************************************************************************************************************/
.table-view {
.table-row-cell:empty {
-fx-background-color: white;
}
.table-row-cell:empty .table-cell {
-fx-border-width: 0px;
}
}
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