public PropertiesTab AddPropertiesTab(string name)
        {
            var node = new PropertiesTab(this.GroupPropertiesTabs)
            {
                Name = name
            };

            this.GroupPropertiesTabs.NodeAddNewSubNode(node);
            return(node);
        }
        public override ITreeConfigNode NodeAddNew()
        {
            var node = new PropertiesTab(this.Parent);

            (this.Parent as GroupListPropertiesTabs).Add(node);
            var glp = (this.Parent.Parent as INodeWithProperties);

            node.Position = glp.GroupProperties.GetNextPosition();
            this.GetUniqueName(PropertiesTab.DefaultName, node, (this.Parent as GroupListPropertiesTabs).ListPropertiesTabs);
            this.SetSelected(node);
            return(node);
        }
        public override ITreeConfigNode NodeAddClone()
        {
            var node = PropertiesTab.Clone(this.Parent, this, true, true);

            (this.Parent as GroupListPropertiesTabs).Add(node);
            var glp = (this.Parent.Parent as INodeWithProperties);

            node.Position = glp.GroupProperties.GetNextPosition();
            this.Name     = this.Name + "2";
            this.SetSelected(node);
            return(node);
        }
        public PropertiesTab AddPropertiesTab(string name)
        {
            var node = new PropertiesTab(this.GroupPropertiesTabs)
            {
                Name = name
            };

            this.GroupPropertiesTabs.NodeAddNewSubNode(node);
            var glp = (this.Parent.Parent as INodeWithProperties);

            node.Position = glp.GroupProperties.GetNextPosition();
            return(node);
        }
        public override ITreeConfigNode NodeAddNewSubNode(ITreeConfigNode node_impl = null)
        {
            PropertiesTab node = null;

            if (node_impl == null)
            {
                node = new PropertiesTab(this);
            }
            else
            {
                node = (PropertiesTab)node_impl;
            }

            this.Add(node);
            if (node_impl == null)
            {
                this.GetUniqueName(PropertiesTab.DefaultName, node, this.ListPropertiesTabs);
            }

            this.SetSelected(node);
            return(node);
        }