Beispiel #1
0
 /// <summary>
 /// Handles the ClusteringFinished event of the Parent control
 /// </summary>
 /// <param name="sender">The ClusteringToolPanelExtensionViewModel that fired the event</param>
 /// <param name="e">Arguments for the event</param>
 private void parent_ClusteringFinished(object sender, ClusteringEventArgs e)
 {
     if (IsActive)
     {
         this.isPartOfCurrentClustering = true;
     }
 }
Beispiel #2
0
 /// <summary>
 /// Handles the ClusteringFinished event
 /// </summary>
 /// <param name="sender">The object that fired the event</param>
 /// <param name="e">The arguments for the event</param>
 private void ClusteringFinishedHandler(object sender, ClusteringEventArgs e)
 {
     if (IsActive && IsValid)
     {
         IsPartOfActiveClustering = true;
         previousDescriptor       = GetSimilarityDescriptor();
     }
 }
Beispiel #3
0
        /// <summary>
        /// Raises the ClusteringFinished event
        /// </summary>
        /// <param name="e">The event agruments</param>
        protected virtual void OnClusteringFinished(ClusteringEventArgs e)
        {
            EventHandler <ClusteringEventArgs> handler = this.ClusteringFinished;

            if (handler != null)
            {
                handler(this, e);
            }
        }