Update Project Architecture authored by Tobias WEBER's avatar Tobias WEBER
...@@ -35,7 +35,7 @@ On the controller side, there all actions related classes. All controller relate ...@@ -35,7 +35,7 @@ On the controller side, there all actions related classes. All controller relate
The 'Controller' subclasses are responsible for managing the data flow between the view and the model. Controllers update the model when responding to an event thrown by the view. But also update the view in consequence when the model change. The 'Controller' subclasses are responsible for managing the data flow between the view and the model. Controllers update the model when responding to an event thrown by the view. But also update the view in consequence when the model change.
Here is a list of example view classes : Here is a list of example controller classes :
- The 'PlaneController' class : manages all actions linked to the scattering plane (i.e updating the 3D representation of the plane or coordinates on the panel). - The 'PlaneController' class : manages all actions linked to the scattering plane (i.e updating the 3D representation of the plane or coordinates on the panel).
- The 'ScatteringController' class : manages all actions linked to the scattering (i.e updating the model when vector are moved on the reciprocal view, updating angles on the panel when calculation is done, etc.) - The 'ScatteringController' class : manages all actions linked to the scattering (i.e updating the model when vector are moved on the reciprocal view, updating angles on the panel when calculation is done, etc.)
- ... - ...
... ...
......