Open kwokieee opened 2 years ago
I don't understand. If HelpWindow is created when MainWindow is created, the multiplicity should be 1. If it is 0 we shouldn't put it there at all.
Team chose [response.IssueUnclear
]
Reason for disagreement: In the constructor for MainWindow
, a new instance of HelpWindow
is also created. After MainWindow
is created, the other parts such as CommandBox
, ResultDisplay
, StatusBarFooter
, etc. are created via the MainWindow::fillInnerParts
method in the UiManager::start
method. So HelpWindow
's multiplicity should be consistent with that of CommandBox
, ResultDisplay
, StatusBarFooter
, which as you have mentioned, should be 1. If a 0 is included, it implies that MainWindow
can exist without reference to a HelpWindow
, which is not true since HelpWindow
is created when MainWindow
is created.
Bug inherited from AB3:
HelpWindow
should have multiplicity 0 because it is created whenMainWindow
is created. It only gets shown or hidden, but it is not destroyed until the app shuts down.