Beispiel #1
0
 /// <summary>
 /// Returns data to callback.
 /// </summary>
 public void issueCallback(EventFacade e, object caller){}
Beispiel #2
0
 /// <summary>
 /// The flick event listener. Kicks off the flick animation.
 /// </summary>
 protected void _onFlick(EventFacade e){}
Beispiel #3
0
 /// <summary>
 /// Handles the application's `activeViewChange` event (which is fired when the
 /// `activeView` attribute changes) by detaching the old view, attaching the new
 /// view.
 /// The `activeView` attribute is read-only, so the public API to change its
 /// value is through the `showView()` method.
 /// </summary>
 protected void _afterActiveViewChange(EventFacade e){}
Beispiel #4
0
 /// <summary>
 /// Reacts to a change in the instance's `modelList` attribute by breaking
 /// down the bubbling relationship with the previous `modelList` and setting up
 /// that relationship with the new one.
 /// </summary>
 protected void _afterModelListChange(EventFacade e){}
Beispiel #5
0
 /// <summary>
 /// Handles changes in the source's columns attribute.  Redraws the headers.
 /// </summary>
 protected void _afterColumnsChange(EventFacade e){}
Beispiel #6
0
 /// <summary>
 /// Method first checks to see if we have handles, if so it validates the click against the handle. Then if it finds a valid handle, it checks it against the invalid handles list. Returns true if a good handle was used, false otherwise.
 /// </summary>
 public object validClick(EventFacade ev){return null;}
Beispiel #7
0
 /// <summary>
 /// Handles modelList changes, including additions, deletions, and updates.
 /// Modifies the existing table DOM accordingly.
 /// </summary>
 protected void _afterDataChange(EventFacade e){}
 public RegistrationSuccessViewModel(EventFacade eventFacade)
 {
     this._eventFacade = eventFacade;
 }
Beispiel #9
0
 public SettingsTabViewModel(IVpnConnectionManager vpnConnectionManager, SettingsContainerViewModel settingsContainerViewModel, MyAccountViewModel myAccountViewModel, LogViewModel logViewModel, IMessageBoxService messageBoxService, EventFacade eventFacade, ILoginHandler loginHandler, IBrowser browser)
 {
     this._vpnConnectionManager = vpnConnectionManager;
     this._loginHandler         = loginHandler;
     this._messageBoxService    = messageBoxService;
     this._eventFacade          = eventFacade;
     this._browser = browser;
     this.< Logout > k__BackingField     = new RelayCommand(new Action(this.LogoutCommand));
     this.< HelpCenter > k__BackingField = new RelayCommand(new Action(this.HelpCenterCommand));
     base.get_Items().AddRange(new Screen[]
     {
         settingsContainerViewModel,
         myAccountViewModel,
         logViewModel
     });
 }
Beispiel #10
0
 public EventController()
 {
     Facade = new EventFacade();
 }
Beispiel #11
0
 public EventController(EventFacade facade)
 {
     Facade = facade;
 }
Beispiel #12
0
 /// <summary>
 /// Handles the application's `activeViewChange` event (which is fired when the
 /// `activeView` attribute changes) by detaching the old view, attaching the new
 /// view.
 /// The `activeView` attribute is read-only, so the public API to change its
 /// value is through the `showView()` method.
 /// </summary>
 protected void _afterActiveViewChange(EventFacade e)
 {
 }
Beispiel #13
0
 public RestrictedLocationFinishedViewModel(EventFacade eventFacade)
 {
     this._eventFacade = eventFacade;
 }
Beispiel #14
0
 /// <summary>
 /// Returns data to callback.
 /// </summary>
 public void issueCallback(EventFacade e, object caller)
 {
 }
Beispiel #15
0
 /// <summary>
 /// Handles changes in the source's columns attribute.  Redraws the headers.
 /// </summary>
 protected void _afterColumnsChange(EventFacade e)
 {
 }
 public SettingsTabViewModel(VpnConnector vpnConnector, SettingsContainerViewModel settingsContainerViewModel, MyAccountViewModel myAccountViewModel, IMessageBoxService messageBoxService, EventFacade eventFacade, ILoginHandler loginHandler, IBrowser browser)
 {
     this._vpnConnector      = vpnConnector;
     this._loginHandler      = loginHandler;
     this._messageBoxService = messageBoxService;
     this._eventFacade       = eventFacade;
     this._browser           = browser;
     base.get_Items().AddRange(new Screen[]
     {
         settingsContainerViewModel,
         myAccountViewModel
     });
 }