Example #1
0
 public EventsManagerParametersTab(EventsManagerWindow parent,
                                   EventsManagerAuthProvider authProvider,
                                   EventsManagerEnvironmentProvider environmentProvider,
                                   EventsManagerDataProvider <DDNAEventManagerEvent> eventProvider,
                                   ParameterProvider parameterProvider)
 {
     _parent              = parent;
     _authProvider        = authProvider;
     _environmentProvider = environmentProvider;
     _eventProvider       = eventProvider;
     _parameterProvider   = parameterProvider;
     _parameterCreator    = new EventsManagerParameterCreator();
     _parameterCreator.OnParameterCreated += ParameterCreated;
     _parameterCreator.OnCreationFailed   += ParameterCreationFailed;
     _listScrollPosition = Vector2.zero;
 }
Example #2
0
        public EventsManagerEventsTab(EventsManagerWindow parent,
                                      EventsManagerAuthProvider authProvider,
                                      EventsManagerEnvironmentProvider environmentProvider,
                                      EventProvider eventProvider,
                                      ParameterProvider parameterProvider)
        {
            _parent              = parent;
            _authProvider        = authProvider;
            _environmentProvider = environmentProvider;
            _eventProvider       = eventProvider;
            _parameterProvider   = parameterProvider;
            _eventEditor         = new EventsManagerEventEditor(parent);

            _eventEditor.OnEventCreated        += EventCreated;
            _eventEditor.OnEventCreationFailed += EventCreationFailed;

            ClearSelectedEvent();
        }
 public EventsManagerEventEditor(EventsManagerWindow parent)
 {
     _parent = parent;
 }
 public EventsManagerAuthProvider(EventsManagerWindow parentWindow)
 {
     _parentWindow = parentWindow;
 }