Commit Graph

6 Commits

Author SHA1 Message Date
blitzmann
d5aeb0913d Start refactoring the refactor that was started with command pattern refactoring.
Instead of attempting to keep all the Fit service functionality, move these into specific "Fitting Commands" that are designed to define a unit of work and it's undo. Then, we will have "GUI Commands" which are defined as actions taken by the user themselves - these will usually use one or more "Fitting Commands".
2018-07-24 01:29:57 -04:00
blitzmann
a66eb059e2 Convert module swap to command pattern 2018-07-21 18:20:24 -04:00
blitzmann
5d0342ee2d Convert module charge handling to command pattern (adding charges and removing charges) 2018-07-21 18:04:07 -04:00
blitzmann
9309ddff07 Created undo/redo command for module remove, along with reapplying some module-specific attributes (state, charge). Fixed a bug when trying to add a module that doesn't fit 2018-07-21 15:34:58 -04:00
blitzmann
0c3fa53bcf Support undo/redo module add 2018-07-21 14:46:25 -04:00
blitzmann
926e0a9035 Start working on some undo / redo functionality. this is just the start, only module state changes and fit rename is implemented, and probably not very well x_x 2018-07-21 00:12:28 -04:00