This PR does part of the work of partitioning ImageJ Legacy's SourceSearchActionFactory, splitting off the section of that SearchActionFactory that deals with Modules.
To prevent code duplication while preserving SRP, we create an abstract class SourceSearchActionFactory and rename the current SourceSearchActionFactory for Classes into ClassSourceSearchActionFactory. Then ModuleSourceSearchActionFactory was created to contain the migrated functionality.
See scijava/script-editor#63 for the other chunk of migrated functionality.
This PR does part of the work of partitioning ImageJ Legacy's
SourceSearchActionFactory
, splitting off the section of thatSearchActionFactory
that deals withModule
s.To prevent code duplication while preserving SRP, we create an
abstract
classSourceSearchActionFactory
and rename the currentSourceSearchActionFactory
forClass
es intoClassSourceSearchActionFactory
. ThenModuleSourceSearchActionFactory
was created to contain the migrated functionality.See scijava/script-editor#63 for the other chunk of migrated functionality.