Example #1
0
 void IMessageClient.ProcessNotification(Notification notification)
 {
     SynchronizationContextCache.RestoreOriginalContext();
     if (this._onProcessNotification != null)
     {
         this._onProcessNotification(notification);
     }
 }
Example #2
0
 internal override void ProcessNotification(Notification notif)
 {
     DeactivateNodeNotification notification = notif as DeactivateNodeNotification;
     if (notification != null)
     {
         this._nodeSyncManager.DeactivateNode(notification.ScopeNodeId);
     }
     else
     {
         base.ProcessNotification(notif);
     }
 }
 internal override void ProcessNotification(Notification notification)
 {
     if (notification is PropertySheetExtensionInitNotification)
     {
         this._nodeTypes = (notification as PropertySheetExtensionInitNotification).GetPrimaryNodeTypes();
         base.AddSharedData(this._sharedData);
     }
     else
     {
         base.ProcessNotification(notification);
     }
 }
Example #4
0
 internal override void ProcessNotification(Notification notification)
 {
     if (notification is NamespaceExtensionInitNotification)
     {
         NamespaceExtensionInitNotification notification2 = notification as NamespaceExtensionInitNotification;
         this._primaryNode.Initialize(base._nodeSyncManager, notification2.PrimaryNodeType);
         base.AddSharedData(this._primaryNode.SharedData);
         this.OnInitialize();
     }
     else
     {
         base.ProcessNotification(notification);
     }
 }
Example #5
0
 internal virtual void ProcessNotification(Notification notification)
 {
     if (notification is BeginInvokeNotification)
     {
         BeginInvokeNotification notification2 = notification as BeginInvokeNotification;
         this._delegateQueue.Notify(notification2);
     }
     else if (notification is PropertyPageNotification)
     {
         this._sheetManager.ProcessNotificationMessage((PropertyPageNotification) notification);
     }
     else if (notification is DataChangeNotification)
     {
         DataChangeNotification notification3 = notification as DataChangeNotification;
         SharedData data = null;
         if (this._externalDataObjects.TryGetValue(notification3.DataObjectId, out data))
         {
             data.ProcessChangeNotification(notification3);
         }
     }
     else
     {
         if (!(notification is ComponentAbandonedNotification))
         {
             throw new NotImplementedException();
         }
         ComponentAbandonedNotification notification4 = notification as ComponentAbandonedNotification;
         this.RemoveMdiSharedData(notification4.Id);
     }
 }
Example #6
0
 internal override void ProcessNotification(Notification notification)
 {
     if (notification is ColumnVisibilityChangedNotification)
     {
         ColumnVisibilityChangedNotification notification2 = (ColumnVisibilityChangedNotification) notification;
         this.HandleColumnVisibilityChange(notification2.GetVisibleIds(), notification2.GetHiddenIds());
     }
     else
     {
         base.ProcessNotification(notification);
     }
 }
Example #7
0
 internal virtual void ProcessNotification(Notification notification)
 {
     if (notification is HideViewNotification)
     {
         this.HandleHideNotification();
     }
     else if (notification is ShowViewNotification)
     {
         this.HandleShowNotification();
     }
     else
     {
         TraceSources.ExecutiveSource.TraceEvent(TraceEventType.Warning, 12, "The Notification of type {0} is not handled by view {1}.", new object[] { notification.GetType().FullName, this._viewInstanceId });
     }
 }
Example #8
0
 internal override void ProcessNotification(Notification notification)
 {
     if (notification is ViewKeyboardFocusNotification)
     {
         ViewKeyboardFocusNotification notification2 = (ViewKeyboardFocusNotification) notification;
         this.TakeKeyboardFocus(notification2.Forward);
     }
     else
     {
         base.ProcessNotification(notification);
     }
 }
Example #9
0
 public void ProcessNotification(Notification notification)
 {
     SynchronizationContextCache.RestoreOriginalContext();
     this._view.ProcessNotification(notification);
 }