public Notifiable(IModelElement element)
            {
                this.element    = element;
                this.successors = new MultiSuccessorList();
                this.metadata   = new ExecutionMetaData();

                element.BubbledChange += Element_BubbledChange;
            }
Esempio n. 2
0
            public Notifiable(IModelElement element)
            {
                this.element      = element;
                this.successors   = new MultiSuccessorList();
                this.metadata     = new ExecutionMetaData();
                this.notification = CollectionChangedNotificationResult <IModelElement> .Create(this, false);

                element.BubbledChange += Element_BubbledChange;
            }
Esempio n. 3
0
            public Notifiable(IModelElement element)
            {
                this.element      = element;
                this.successors   = new MultiSuccessorList();
                this.metadata     = new ExecutionMetaData();
                this.notification = CollectionChangedNotificationResult <IModelElement> .Create(this, false);

                element.ParentChanged += Ancestor_ParentChanged;
                foreach (var ancestor in this)
                {
                    ancestor.ParentChanged += Ancestor_ParentChanged;
                }
            }