Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve Clockwork and Projector code a bit
The goal of this work is to make the structure of the processing in Projector (and partially also in Clockwork) more obvious from the source code. 1. Eliminated the wave loop from Projector.projectInternal; moving it into Projector.projectAllWaves. (Note that the projector wave loop is used only for previewing changes.) 2. AssignmentHolderProcessor was cleaned up significantly, factoring out e.g. iteration functionality into IterationHelper. 3. Common entry code in processors (checking focus type and existence, casting LensContext) was factored out to ClockworkMedic, using experimental ProcessorExecution annotation. 4. Common post-processing in processors (integrity checking, cross-component updating, diag logging) was moved to processors themselves, simplifying the orchestration code. 5. PolicyRuleEnforcer.execute and policyRuleSuspendTaskExecutor.execute calls were moved to more appropriate places. 6. FocusProcessor was renamed to FocusActivationProcessor. A couple of other minor changes were done as well, with (presumably) negligible impact on the functionality.
- Loading branch information
Showing
43 changed files
with
4,469 additions
and
4,474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.