Esempio n. 1
0
 private void InitialiseControllers()
 {
     _superGraphController = new SuperGraphController(_mapManager, SecurityManager, _themeManager, VideoSource);
     _superGraphController.ModelChanged     += SuperGraph.ModelChanged;
     _superGraphController.MapLoadCompleted += MapLoadCompleted;
     _superGraphController.PermissionLoaded += SuperGraphControllerOnPermissionLoaded;
     IoC.RegisterComponent <ISuperGraphNodeFactory>(_superGraphController);
     IoC.RegisterComponent <ISuperGraphRelationshipFactory>(_superGraphController);
     IoC.RegisterComponent <ISuperGraphNodeBatchOperations>(_superGraphController);
     IoC.RegisterComponent <ISuperGraphNodeOperations>(_superGraphController);
     IoC.RegisterComponent(Breadcrumbs);
     IsInitialised = true;
 }
Esempio n. 2
0
 private void InitialiseControllers()
 {
     _superGraphController = new SuperGraphController(_mapManager, SecurityManager, _themeManager, VideoSource);
     _superGraphController.ModelChanged += SuperGraph.ModelChanged;
     _superGraphController.MapLoadCompleted += MapLoadCompleted;
     _superGraphController.PermissionLoaded += SuperGraphControllerOnPermissionLoaded;
     IoC.RegisterComponent<ISuperGraphNodeFactory>(_superGraphController);
     IoC.RegisterComponent<ISuperGraphRelationshipFactory>(_superGraphController);
     IoC.RegisterComponent<ISuperGraphNodeBatchOperations>(_superGraphController);
     IoC.RegisterComponent<ISuperGraphNodeOperations>(_superGraphController);
     IoC.RegisterComponent(Breadcrumbs);
     IsInitialised = true;
 }