Exemple #1
0
        private void References_Changed(object sender, SceneNode pathNode, AnnotationEditor.ReferenceInfo info, DocumentNodeMarker damageMarker, DocumentNodeChange damage)
        {
            IEnumerable <string> enumerable = AnnotationUtils.ParseAnnotationReferences(((DocumentPrimitiveNode)pathNode.DocumentNode).GetValue <string>());

            info.ReferencedAnnotationIds = Enumerable.ToList <string>(enumerable);
            info.ReferencedAnnotations   = this.ComputeReferencedAnnotations(enumerable);
            this.InvalidateAdorners(info.ReferenceOwner);
        }
Exemple #2
0
 private void References_Removed(object sender, SceneNode basisNode, object basisContent, SceneNode oldPathNode, AnnotationEditor.ReferenceInfo info)
 {
     this.InvalidateAdorners(info.ReferenceOwner);
 }