PV 168 Seminar 06 Agenda - Projects: First Milestone - Seminar task - Seminar task reflection Project: First Milestone ● Design and implement GUI of the application in the scope of MVP ○ Just GUI, not the business logic ○ However the GUI should be complete (all screens, menu items, buttons, etc.) ○ You should be able demonstrate how the application will look like and how it will behave ● Deadline: 13. 11. 2020 23:59 ○ The master branch of your repository at https://github.fi.muni.cz contains your GUI MVP ● If you have any questions, ask assigned seminar tutor (the one who has customer role for your project) Seminar task - You will be now split to teams consisting of four students - Create and push the branch (see the next slides) - Work on the tasks in the specified order (see the next slides) - You have 60 minutes to solve all the tasks - If you need any help, Ask for Help in Zoom Working with branches in Git ● Clone the project https://gitlab.fi.muni.cz/pv168/employee-evidence ● Create new local branch ○ based on commit 8dc0bbaa (current head of master branch) ○ with name week06-group0X-roomY (0X is seminar group, Y is breakout room number) ○ If you from group PV168/01 and breakout room 3, branch name is week06-group01-room3 ● Pavel Hrdina or Petr Adámek will give you write access to employee-evidence repository ○ Only one person per breakout room - the one who will use the computer for coding ○ Petr or Pavel will visit your breakout room to ask who is this person ○ In the meantime work on other tasks ● Push the branch to origin repository Seminar task ● Modify the application to have operations Add, Delete and Edit in ○ Local menu of employee table (label, icon, keyboard shortcut, tooltip and mnemonics) ○ Menu Edit (label, icon, keyboard shortcut, tooltip and mnemonics) ○ Toolbar (icon and tooltip) ● Modify the application to enable operation (i.e. all menu items and buttons) ○ Edit only when single row is selected ○ Delete only when at least one row is selected ● Add these columns into the table (each column in separate commit) ○ Gender (make it also editable) ○ Birth Date ○ Age ● Change the order of columns in model to the following (as another commit): ○ Gender, Age, Last Name, First Name, Birth Date Some hints & Link to slides How to calculate employee age (two possible ways): ● ChronoUnit.YEARS.between(employee.getBirthDate(), LocalDate.now()); ● Period.between(employee.getBirthDate(), LocalDate.now()).getYears(); https://is.muni.cz/auth/el/fi/podzim2020/PV168/um/seminare/PV168-seminar-06.pdf Conclusion Any questions?