Beispiel #1
0
        public override ModelTreeNode CreateDefaultItem()
        {
            var model = new Projectile();
            var node  = new ProjectileTreeNode(model);

            return(node);
        }
Beispiel #2
0
        public override ModelTreeNode AddItem()
        {
            var model = new Projectile();
            var node  = new ProjectileTreeNode(model);

            this.AddSibling(node);

            return(node);
        }
Beispiel #3
0
        public override IList <ModelTreeNode> CreateTree()
        {
            var nodes = new List <ModelTreeNode>(1);
            var model = new Projectile();
            var node  = new ProjectileTreeNode(model);

            nodes.Add(node);

            return(nodes);
        }