[improvement][ui] big refactoring regarding the components states

This commit is contained in:
Vinicius Moreira
2020-06-22 17:00:32 -03:00
parent e852224637
commit dab70cdfb8
17 changed files with 868 additions and 473 deletions

View File

@@ -365,7 +365,12 @@ class GenericSoftwareManager(SoftwareManager):
return history
def get_managed_types(self) -> Set[Type[SoftwarePackage]]:
pass
available_types = set()
for man in self.get_working_managers():
available_types.update(man.get_managed_types())
return available_types
def is_enabled(self):
return True