getView static method

CLAIDModuleView getView(
  1. String moduleId,
  2. String moduleClass,
  3. ModuleManager moduleManager
)

Implementation

static CLAIDModuleView getView(String moduleId, String moduleClass, ModuleManager moduleManager)
{
  String entityName = "CLAID_DART_${moduleId}_ModuleView";
  ViewFactoryFunc? func = _lookupMap[moduleClass];
  if(func != null)
  {
   return func!(entityName, moduleId, moduleClass, moduleManager);
  }
  return EmptyDefaultDeviceView(entityName, moduleId, moduleClass, moduleManager);
}