Exemplo n.º 1
0
        public EditorFile(
            IStorageGraph storage,
            FactorySet <IContainer> containerfactoryset,
            bool isnewfile = false
            )
        {
            this.storage             = storage;
            this.containerfactoryset = containerfactoryset;

            var obj = storage[storage.Root];

            containers =
                new BoundList <IContainer>(
                    storage.Root,
                    this,
                    containerfactoryset,
                    new ViewerSet <IContainer>()
                    );

            containers.Bind();

            if (isnewfile)
            {
                containers.CreateAllObjects();
            }
        }
Exemplo n.º 2
0
        public override void Bind()
        {
            pin.Bind();
            tracks.Bind();

            base.Bind();
        }
        public override void Bind()
        {
            settings.Bind();
            tracks.Bind();
            controllers.Bind();

            base.Bind();
        }
        public override void Bind()
        {
            controllers.Bind();

            controllers.ItemAdded   += Controllers_ItemAdded;
            controllers.ItemRemoved += Controllers_ItemRemoved;

            Name.AfterChange += container.Settings.GlobalCaret.RenameCaret;

            if (!this.Object <TrackControllerScreen, IScreen>().HasChild("inited"))
            {
                Init();

                this.Object <TrackControllerScreen, IScreen>().GetOrMake("inited");
            }

            base.Bind();
        }
Exemplo n.º 5
0
        public override void Bind()
        {
            functionsources.Bind();

            base.Bind();
        }
Exemplo n.º 6
0
        public override void Bind()
        {
            polylines.Bind();

            base.Bind();
        }
Exemplo n.º 7
0
        public override void Bind()
        {
            screens.Bind();

            base.Bind();
        }