package task.timer.view;

import arch.task.timer.model.History;
import javafx.fxml.FXML;
import javafx.scene.control.TableColumn;
import javafx.scene.control.TableView;

public class HistoryController {
	@FXML private TableView<History> historyTable;
	@FXML private TableColumn<History, Integer> userIdColumn;
	@FXML private TableColumn<History, String> projectNameColumn;
	@FXML private TableColumn<History, String> workNameColumn;
	@FXML private TableColumn<History, Long> startTimeColumn;
	@FXML private TableColumn<History, Long> stopTimeColumn;
	
}




@@ -23,46 +23,8 @@
 w;%0A%0A
-import arch.task.timer.model.History;%0A
 impo
@@ -123,16 +123,48 @@
 bleView;
+%0Aimport task.timer.model.Record;
 %0A%0Apublic
@@ -170,23 +170,23 @@
 c class 
-History
+Records
 Controll
@@ -219,24 +219,22 @@
 iew%3C
-History%3E history
+Record%3E record
 Tabl
@@ -263,23 +263,22 @@
 eColumn%3C
-History
+Record
 , Intege
@@ -313,39 +313,38 @@
 ate TableColumn%3C
-History
+Record
 , String%3E projec
@@ -383,23 +383,22 @@
 eColumn%3C
-History
+Record
 , String
@@ -434,39 +434,38 @@
 ate TableColumn%3C
-History
+Record
 , Long%3E startTim
@@ -504,15 +504,14 @@
 umn%3C
-History
+Record
 , Lo
@@ -536,9 +536,298 @@
 ;%0A%09%0A
-%7D%0A%0A%0A%0A
+%0A@FXML private void initialize()%7B%0A%09recordTable.setTableMenuButtonVisible(true);%0A%09%0A%09userIdColumn.setCellValueFactory(cellData -%3E %0A%09%09%09cellData.getValue().recordIdProperty().asObject());%0A%09%0A%09projectNameColumn.setCellValueFactory(cellData -%3E%0A%09%09%09cellData.getValue().projectNameProperty());%0A%09%0A%0A%09%0A%0A%7D%0A%0A%7D

add "initialize" method