Exemplo n.º 1
0
 private void BuildTagsHierarchy()
 {
     foreach (var component in m_componentsLibraryViewModel.ComponentsCollection)
     {
         var node = new CLVComponentNode(component, this);
         m_componentNodeCollection.Add(node);
         node.AddTag("All Components");
         //if (component.Tags != null)
         //{
         //    component.Tags.TagAdded += new EventHandler<Core.Components.TagChangedEventArgs>(Tags_TagAdded);
         //    component.Tags.TagRemoved += new EventHandler<Core.Components.TagChangedEventArgs>(Tags_TagRemoved);
         //}
         node.PropertyChanged += new PropertyChangedEventHandler(ComponentNodePropertyChanged);
     }
 }
 private void BuildTagsHierarchy()
 {
     foreach (var component in m_componentsLibraryViewModel.ComponentsCollection)
     {
         var node = new CLVComponentNode(component, this);
         m_componentNodeCollection.Add(node);
         node.AddTag("All Components");
         //if (component.Tags != null)
         //{
         //    component.Tags.TagAdded += new EventHandler<Core.Components.TagChangedEventArgs>(Tags_TagAdded);
         //    component.Tags.TagRemoved += new EventHandler<Core.Components.TagChangedEventArgs>(Tags_TagRemoved);
         //}
         node.PropertyChanged += new PropertyChangedEventHandler(ComponentNodePropertyChanged);
     }
 }
 private void AddNodeTag(MetadataDefinition component)
 {
     var node = new CLVComponentNode(component, this);
     node.AddTag("All Components");
 }
        private void AddNodeTag(MetadataDefinition component)
        {
            var node = new CLVComponentNode(component, this);

            node.AddTag("All Components");
        }