Closed Aulud closed 5 years ago
Summary: Addresses #76. Verified to work on both Windows 10 and Ubuntu 16.04 LTS operating systems.
CommandSubType
ListCommand
Context
Model
Ui
ListCommandParser
CommandResult
ContextType
ActivityBook
ObservableArrayList
ArrayList
Logic
PersonListPanel
ListPanel<T>
PersonCard
ActivityCard
Last updated 22 Oct 2019, 09:45PM
Extend List command to change context of Model and UI view
Summary: Addresses #76. Verified to work on both Windows 10 and Ubuntu 16.04 LTS operating systems.
Changelog
CommandSubType
enum for GUI commands - subsequently required for View commandListCommand
to update theContext
state of theModel
component and the corresponding view in theUi
componentUi
component to store separate lists of contacts and activitiesListCommandParser
to parse list commands into sub-typesCommandResult
class to include an optionalContextType
for GUI-related commandsActivityBook
to use the JavaFXObservableArrayList
collection instead of anArrayList
Context
class - extract publicContextType
enum for use byLogic
,Model
andUi
componentsPersonListPanel
to a genericListPanel<T>
class for re-usability to list different types of entriesPersonCard
for displaying a single contact; addActivityCard
for displaying general details of an activityLast updated 22 Oct 2019, 09:45PM