Commit Graph

3 Commits (fc21a215d3aa1cf6f3075dff9302c03d363e6e94)

Author SHA1 Message Date
Vladimir ELazar Tokarev fc21a215d3 Created EventHandlerMapper
This objects actualy creates Event Handler Map  and fills it withs ids and
the obhject that should manage the events with given ids.
2016-06-12 15:52:22 +03:00
Vladimir ELazar Tokarev 1fb96c8630 Added Ecent Handler Mapper
Polling Station Dashboard have a lot of logics extend or close some
pannels (Settings and the Status log), search for users, and eddit those
users.
In order to simplfy the logic of Polling Station Dashboard Controler this
class was invented, the idea behind is simple every time some event is
trigered we will activate the apropriate handle method of the apropriate
object, this way if tomorow for say i want to implement different search
algoritm of users i will only change the UserSearch part.
2016-06-12 15:20:29 +03:00
Vladimir ELazar Tokarev c80aa8efc1 Removed the adding/removing logic from PSD controller
The only thing that the controller of the Polling Station Dashboard
suppose to do is to handle events (not manage the llogic of adding or
removing actual parts/panels to the main stage ) this is why this logic is
now mainteined in saparated objects as Settings Visual Updater or
Status Log Visual Updater
2016-06-12 13:18:01 +03:00