Skip to content

Commit 7ec4398

Browse files
author
Martin Plieske
committed
added getValues method in ManageProjectController
1 parent 1b3268d commit 7ec4398

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/de/doubleslash/keeptime/view/ManageProjectController.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ public void setModel(final Model model) {
6363
this.model = model;
6464
}
6565

66+
public Project getValues() {
67+
return new Project(getProjectName(), getProjectDescription(), getProjectColor(), isWork(), getIndex());
68+
}
69+
6670
public void setValues(final Project project) {
6771
LOG.info("Setting values.");
6872
nameTextField.setText(project.getName());

0 commit comments

Comments
 (0)