Open vevek opened 3 years ago
A composition is an association that represents a strong whole-part relationship. When the whole is destroyed, parts are destroyed too i.e., the part should not exist without being attached to a whole.
The HelpWindow
can exist on its own and doesn't have to rely on the MainWindow
, i.e. it is possible to test the HelpWindow
independently without having to instantiate a MainWindow
or create a stub in its place. This is therefore an association not a composition. It is because of implementation convenience that HelpWindow
is created and stored under the MainWindow
.
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your explanation]
HelpWindow is not shown as a composition but just as an association, when other Panels/Boxes/Displays are shown to be compositions wrt MainWindow.
This may lead to confusion to readers.
Actual: HelpWindow not shown as composition with MainWindow.
Expected: HelpWindow should be shown as composition with MainWindow.
Screenshot: