def __init__(self, app): """ Object that contain all manager instance """ super(AppManager, self).__init__(app) self.action = ActionManager(app) """ The manager for Action plugins :type: ActionManager """ self.data = DataManager(app) """ The manager for Data plugins :type: DataManager """ self.layer = LayerManager(app) """ The manager for Layer plugins :type: LayerManager """ self.file = FileManager(app) """
class AppManager(AppBase): def __init__(self, app): """ Object that contain all manager instance """ super(AppManager, self).__init__(app) self.action = ActionManager(app) """ The manager for Action plugins :type: ActionManager """ self.data = DataManager(app) """ The manager for Data plugins :type: DataManager """ self.layer = LayerManager(app) """ The manager for Layer plugins :type: LayerManager """ self.file = FileManager(app) """ The manager for File plugins :type: FileManager """ def configure_all(self): """Configure all manager after they are instantiate""" self.action.configure() self.data.configure() self.layer.configure() self.file.configure()