Esempio n. 1
0
        public override bool Connect(IApplicationData data, IEventAggregator eventaggre)
        {
            _data       = data;
            _eventaggre = eventaggre;

            _doc     = _data.ActiveDocument as IRBuilderDocument;
            _manager = _doc.GetLightsManager();

            eventaggre.GetEvent <OnTransformNodeSelectedOnScreen>().Subscribe(OnTransformNodeSelectedOnScreenHandler);

            return(true);
        }
Esempio n. 2
0
 public LightCommands(IApplicationData data, IRLightManager manager)
 {
     Data     = data;
     _manager = manager;
 }