Beispiel #1
0
        public override void AddChildModel(IModel model)
        {
            var node = new WaveTreeNode()
            {
                Model = model
            };

            node.AddDefaultChildNodesHack();

            //add to tree
            Nodes.Add(node);
        }
        public override ModelTreeNode AddItem()
        {
            var model = new Wave();
            var node  = new WaveTreeNode();

            node.AddDefaultChildNodesHack();
            node.Model = model;

            AddSibling(node);

            return(node);
        }
Beispiel #3
0
        public override ModelTreeNode AddItem()
        {
            var item = new Wave();
            var node = new WaveTreeNode()
            {
                Model = item
            };

            node.AddDefaultChildNodesHack();
            Nodes.Add(node);

            return(node);
        }